I am getting a Unable to load DLL exception when running my Media Center App in 64bit Vista. I do not get this error when running on 32-bit.
The DLL is a 32bit DLL that is called like any VB API call
Declare Function myAPICall Lib "My32bitDLL.DLL" () As Integer
If I write a windows forms app and make this call under x64 Vista it works fine.
The dll is located in the C:\Windows\SysWOW64\ Folder. In 32bit windows it is located in C:\Windows\System32
Does this have to do with it being an asembly registered in the GAC?
Do I need to place my DLL in a specific directory for this to work under 64-Bit?
Anyone else seen this?
Jeff