dynamically loading unmanaged dll

  • Thread starter Thread starter maciek/P
  • Start date Start date
M

maciek/P

Hi,

How to load dynamically (dllpath) function from old (unmanaged) dll
library in vb.net. This function has several parameters and I can't use
LoadLibrary/GetProcAddress/CreateThread method. Is any API function
which call function by its handle (pointer)?


thanx
 
How to load dynamically (dllpath) function from old (unmanaged) dll
library in vb.net. This function has several parameters and I can't use
LoadLibrary/GetProcAddress/CreateThread method. Is any API function
which call function by its handle (pointer)?

Do you know the name of the DLL? If so, you can just call LoadLibrary
with the full path to get it loaded, then a regular Declare statement
should work.



Mattias
 
Back
Top