I have a JD Edwards business function that is written in Microsoft Visual C ++ as a C module. I use LoadLibrary to access a third-party DLL. In a standalone test program, the code works very well. When I run it from JDE, LoadLibrary returns NULL, and GetLastError returns 126, which means The specified module could not be foundaccording to MSDN. I tried to set the full path to the DLL, and yes, I remember to double \ characters in the path. No difference.
I checked that there were no dependencies that could prevent the DLL from loading; DUMPBIN / DEPENDENTS returns the following:
WSOCK32.dll
USER32.dll
GDI32.dll
WINSPOOL.DRV
ADVAPI32.dll
KERNEL32.dll
They look like standard Windows DLLs, so I donβt understand.