Insider1984
Technical User
Hi guys. I have a motion controller which is nothing more than a serial port device. The dll is old and written in 32-bit. I have an "interface" dll which wraps and does a DLL import on the DLL itself (along with a few other motor controller dlls to make a common interface).
On a 64-bit PC. if the application is compiled in 32-bit.... everything works great. If it is compiled in 64-bit the call into the manufacturer's 32-bit fails. If I try to compile my interface in 32-bit but the application in 64-bit the application exceptions when it enters the function that calls to the dll.
the exception is something about "the wrong format".
I would guess there is a way around this but a search online didn't return much.
=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET
On a 64-bit PC. if the application is compiled in 32-bit.... everything works great. If it is compiled in 64-bit the call into the manufacturer's 32-bit fails. If I try to compile my interface in 32-bit but the application in 64-bit the application exceptions when it enters the function that calls to the dll.
the exception is something about "the wrong format".
I would guess there is a way around this but a search online didn't return much.
=====================
Insider
4 year 'on the fly' programmer
C, C++, C#, MFC, Basic, Java ASP.NET