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:
Expand|Select|Wrap|Line Numbers
- System.DllNotFoundException: Unable to load DLL 'atmapi32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Expand|Select|Wrap|Line Numbers
- 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!