wwDotnetBridge
More ClrHost.dll loading issues.
Gravatar is a globally recognized avatar based on your email address. More ClrHost.dll loading issues.
  David Shrader
  All
  May 30, 2025 @ 07:53am

Based on an answer in this this thread, https://support.west-wind.com/Thread4KU0YJP5J.wwt#:~:text=There%20are%20TWO,%2B%2B%2B%20Rick%20%2D%2D%2D, it seems that if another version of the clrhost.dll is loaded into memory from an unrelated process, that version of the clrhost.dll is causing an issue with the WW version of clrHost.dll. Can you confirm this is true.

Should we rename your clrhost.dll and the references to it in wwDotNetBridge.prg?

Gravatar is a globally recognized avatar based on your email address. re: More ClrHost.dll loading issues.
  Rick Strahl
  David Shrader
  May 30, 2025 @ 11:08am

Can you confirm that this is actually a problem? Does it fail during the load of the DLL the first time it's used? The modules inside of the DLL are different so it's not an identical DLL.

But yes, you can rename the DLL and then change the name at the top of wwDotnetBridge.prg:

#DEFINE WWC_CLR_HOSTDLL alternate_clrhost.dll

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: More ClrHost.dll loading issues.
  David Shrader
  Rick Strahl
  Jun 5, 2025 @ 08:54am

Yes, it is failing upon initial load.

© 1996-2025