Solved! Go to Solution.
So you are trying to run a 32 bit process (written in C++) and it is returning DLL not found. Right?
One of things that it a common problem occurs when the C++ code is compiled in debug and then you try to run it on a non-development machine. In this case the issue is that the debug C Run-Time (CRT) libraries is not found on production machines. You can see this if you use something like the old Depends utility (Google it) which shows you the DLLs that are referenced by a executable image.
Run Depends on the machine on which you get the above error. Does it find all the DLLs?
Another issue is that old school C++ DLLs are found using the PATH environment variable. That can vary depending on who the user is. I don't know which user GP tasks run as but you should be able to figure that out. Once you so then you can use a utility such as:
http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx
In order to run your program as same user as the GP task is running as. Your goal is to try and simulate the same execution environment as the GP task.
In order to run your program as same user as the GP task is running as. Your goal is to try and simulate the same execution environment as the GP task.
Run the Microsoft SysInternals Process Monitor utility and then make your progam fail.