Unsolved
This post is more than 5 years old
1 Message
0
2856
October 10th, 2009 09:00
Using SDK 3.2P4 with .NET web application
Hello,
I have a web application that uses the windows SDK. I have been using SDK 3.0 for a long time and all I didto make it work was to import FPLibrary.dll in my .net class and the put that dll and all the other SDK dlls in my web application "bin" directory.
I am now trying to move to SDK 3.2 P4 and when I substitute the SDK dlls in my web application directory I get FP_Authentication_Failed_ERR on FP_Open statements.
After some debugging, I've found out that my application cannot load pai_module.dll, which is in my web bin directory as usual.
It seams that FPLibrary.dll or one of the satellite libraries (FPCore.dll etc.) can find pai_module.dll only if it islocated in the system32 directory or in a directory included in the system PATH.
Has anything changed in the way pai_module.dll is loaded ? Is there any way I can keep it in my web directory without using the PATH environment variable ?
Thank you for you help
GM
mckeown_paul
409 Posts
0
October 20th, 2009 03:00
I'm fairly sure that it has always been the case that when loading dlls the processes current working dir and PATH are the locations looked in. I don't think this behaviour has changed with 3.2P4 as its the method the underlying operating system uses to find the DLLs.
If you use procmon.exe from sysinternals.com you could monitor the behaviour of the two revs as the DLLs are loaded