dynamically loading unmanaged dll

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
 
M

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top