07-31-2014 02:05 AM
Hi,
If in a CVI project you link the import library of an external DLL (.dll),
(Listing the DLL import library (.lib) in the project)
and then, in runtime, you load the same DLL dinamically,
(with the Windows API functions: LoadLibrary()...)
in the same process
Do we have two instances of the same DLL in different spaces of memory,
or Is the same instance?
A call to LoadLibrary() function, with the module previously loaded (with a previous call to LoadLibrary() function),
returns a handle to the module that was loaded first.
But what happen if the module is previously statically link?
Best Regards
08-12-2014 10:03 AM
Good question. I also want to know answer to this question.
I think you can only load one dll of same name in CVI.