From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,378 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,378 Views)