Good afternoon experts!
I'm having trouble getting a dll to properly load. It loads on my machine, and even though the users who will be using the library have it on their machine, the program will not recognize it.
I'm writing an automation program that interacts with a green screen application. It uses the atmapi32.dll library. The first time I tried to run it on someone's computer, i received the following error:
Thanks to Plater, and his suggestion in another thread to use Process Explorer, I learned the path of the DLL it was trying to use. Thinking myself extremely clever, I hard coded the library directory, to point to a copy of the library in the application's folder but I got this error instread:
I've been down a similar path before, with trying to get the same program to recognize a library, however the that case, the library didn't exist on the users' machines. In this case, the library exists, but the program will not find it, even when I hard code.
Does anyone know how I can fix this? My only other thought would be to find a way to package the library in the install file (which I don't know how to do either).
Thank you in advance!
I'm having trouble getting a dll to properly load. It loads on my machine, and even though the users who will be using the library have it on their machine, the program will not recognize it.
I'm writing an automation program that interacts with a green screen application. It uses the atmapi32.dll library. The first time I tried to run it on someone's computer, i received the following error:
Code:
System.DllNotFoundException: Unable to load DLL 'atmapi32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Code:
System.DllNotFoundException: Unable to load DLL 'c:\program files\sls\workbook1\atmapi32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Does anyone know how I can fix this? My only other thought would be to find a way to package the library in the install file (which I don't know how to do either).
Thank you in advance!
Comment