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")
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")