Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Prevent duplicate loading of compiled C# DLL components.
#3
The following code has also been tested and works. If we use code similar to #2 above to compile multiple code files into a single DLL, and then share it among multiple functions associated with the main function, it becomes incredibly convenient.
 
How can we determine whether the DLL is already loaded? Is that possible?
Could you provide a sample reference code?

CsScript x.SetOptions("inMemoryAsm=true"); x.Load(":12 $qm$\pyn.dll")


Messages In This Thread
RE: Prevent duplicate loading of compiled C# DLL components. - by Davider - 06-10-2025, 08:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)