LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, I have a problem

with dll-finding. Here comes the szenario: foo.dll calls bar.dll with LoadLibrary (bar.dll). both are in the same directory. but if i want to use a function in foo.dll it doesnt work because foo.dll is not able to find bar.dll. (LoadLibrary returns NULL).
Why does foo.dll is not able to find bar.dll?
Thanks Martin
0 Kudos
Message 1 of 2
(2,381 Views)
with dll-finding. Here comes the szenario: foo.dll calls bar.dll with LoadLibrary (bar.dll). both are in the same directory. but if i want to use a function in foo.dll it doesnt work because foo.dll is not able to find bar.dll. (LoadLibrary returns NULL).Hi Martin,

try to put all your DLLs in you System directory. This is the best way to
avoid such problems.


Max

--
-> max.weiss@web.de / max@gmx.de <-
-> Max Weiß * Eulenweg 2 * 76356 Weingarten * Germany <-
-> Fax: 0180 505254775181 * Tel: 0175 1228001 * DB 8 MWE <-
0 Kudos
Message 2 of 2
(2,381 Views)