Our program structure is as follows;
MW11.EXE (Any CPU)
BASECLASS.DLL (Any CPU)
and...
MW11x86.EXE (x86) (Same as MW11.EXE with just different platform)
The map program we've built (inside of BASECLASS.DLL) works fine when run from MW11.EXE, but on "some" PCs it blows up with the MW11x86.EXE. We need to have this version so we can also integrate with the 32 bit version of Outlook.
The error we receive on "some" PCs is:
"An attempt was made to load a program with an incorrect format".
I'm guessing that it might be referring to SqlServerSpatial110.dll, but that file is located in the \Windows\System32 folder and also in the \Windows\SysWOW64 folder for good measure...
Or, it could be the C++ libraries have also been installed, but I'm wondering if you have to do either a 32 bit version or a 64 bit version and you can't have both? When I try to install the 32 bit version on these 64 bit Windows 7 machines it says that there are blocking issues..
Are there any other dependencies that I haven't considered?? Remember it DOES work when I run it from the EXE that was built as an "Any CPU", AND... it DOES work on other PCs... with the x86 EXE...so what can be different on the one's it's not working on?
Thanks!! bob