Using VLD, Dynamic load DLL failed

67 Views Asked by At

We have a windows Application, some DLLs are dynamic loaded using LoadLibraryW(). These Dlls are put in different Directory。 When we turn on VLD memory leak check, these DLLs failed to load. It seems like not search folders normally when load library. When we turn off VLD, the Application can be Started normally. Is anyone know the reasons? Thanks.

We try to load Dll in the same folder of main application, it can be loaded successfully. But Dlls in children folders can not be loaded。

0

There are 0 best solutions below