Can't use DLL embedded functions...?
Posted: Sun Feb 06, 2011 6:17 pm
Hi folks,
I got a little problem with DLL..
I'm trying to use a DLL calling its functions. It seems the DLL can't be opened with this instruction:
handle:=loadlibrary("pacdrive.dll") or handle:=loadlib32("pacdrive.dll") -> I got handle=0 (should be >32, I guess); if I try to ignore the handle status, the program will crash.
I tried in this way too:
DLL32 Function MYinitialize() AS _INT PASCAL FROM "pacinitialize" LIB "pacdrive.dll", but the program hangs..
The DLL is provided as SDK with an hardware product, with some C++, C#, VB6, etc. samples that correctly work in conjunction with this dll.
How can I make it work in FWH too?
cheers,
Giobbi
I got a little problem with DLL..
I'm trying to use a DLL calling its functions. It seems the DLL can't be opened with this instruction:
handle:=loadlibrary("pacdrive.dll") or handle:=loadlib32("pacdrive.dll") -> I got handle=0 (should be >32, I guess); if I try to ignore the handle status, the program will crash.
I tried in this way too:
DLL32 Function MYinitialize() AS _INT PASCAL FROM "pacinitialize" LIB "pacdrive.dll", but the program hangs..
The DLL is provided as SDK with an hardware product, with some C++, C#, VB6, etc. samples that correctly work in conjunction with this dll.
How can I make it work in FWH too?
cheers,
Giobbi