Visual Studio, Win8, and TM1Api woes
Posted: Fri Jan 11, 2013 4:15 pm
Hey guys, I'm looking for a bit of help, but I think it might be a long shot,
I have a standalone windows program that interacts with TM1 that was inherited from a former co-worker. It was originally developed for Windows XP x86, and I'm now trying to get it to work on Win7 x64. When I copied the original executable files over, the program ran, but as soon as I tried to do something involving TM1, I got this error:
Unable to load the DLL 'tm1api.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).
Closed the program, reopened it as "Run as Administrator" and I got the same result. I didn't change anything from the original pull over, and the tm1api.dll file was in the root folder of the program. So I figure, it must be the x86 to x64 conversion, I go intt program files and grab the x64 tm1api.dll and copy it to the root folder. Same error.
So I go track down the old solution, bring it up in Visual Studio and try to swap out the file there. Still no luck. I've also tried adding the dll as a reference, though I'm lead to believe that this won't work because the tm1api isn't a COM application (not entirely certain what that means).
Can anyone else think of something for me to try. It was a very handy little tool that let you copy processes between servers without bouncing them or doing it manually.
I have a standalone windows program that interacts with TM1 that was inherited from a former co-worker. It was originally developed for Windows XP x86, and I'm now trying to get it to work on Win7 x64. When I copied the original executable files over, the program ran, but as soon as I tried to do something involving TM1, I got this error:
Unable to load the DLL 'tm1api.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).
Closed the program, reopened it as "Run as Administrator" and I got the same result. I didn't change anything from the original pull over, and the tm1api.dll file was in the root folder of the program. So I figure, it must be the x86 to x64 conversion, I go intt program files and grab the x64 tm1api.dll and copy it to the root folder. Same error.
So I go track down the old solution, bring it up in Visual Studio and try to swap out the file there. Still no luck. I've also tried adding the dll as a reference, though I'm lead to believe that this won't work because the tm1api isn't a COM application (not entirely certain what that means).
Can anyone else think of something for me to try. It was a very handy little tool that let you copy processes between servers without bouncing them or doing it manually.