64bit - Why would some DLL functions fail on 64-bit Windows? -
i'm trying run lotusscript code (very similar visual basic) in lotus domino on windows servers.
code calls windows api functions, , works fine on 32-bit windows 2003 servers, doesn't work on 1 64-bit server we've tried on.
here's 1 of our external function declarations:
declare function findexecutable lib "shell32.dll" alias "findexecutablea" _ (byval lpfile string, byval lpdirectory string, byval lpresult string) long
when trying call function, lotusscript produces error message "external function not found".
have tried both removing alias declaration, , changing alias "findexecutable" same result.
i have also:
- comparison, tried calling getforegroundwindow function in user32.dll - works.
- used dir function confirm shell32 exists path "c:\windows\syswow64\shell32.dll", then...
- changed lib in declaration dll's full path - produces "error in loading dll" when calling function.
is there must done differently when calling shell32 functions on 64-bit server?
other reason why function call fail on 1 particular server?
just ran myself custom 64-bit dll on 64-bit domino. appears may known issue on 64-bit versions of domino ibm has decided term "permanent restriction":
lo47066: "external function not found." error lotusscript agent using dll functions in domino 64-bit
Comments
Post a Comment