Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force a C# Application to run in 32bit mode on a 64bit server

A client of ours is running an old version of our software which was built with "Any CPU" targeted. The software uses the Microsoft Tablet SDK which is a 32bit only application.

They are attempting to install this on a 64 bit pc and obviously having issues because of the 32bit SDK not being visible to our software running in 64bit mode.

Rebuilding their version of the software is not an option (source control screwup) but they are planning an upgrade in the future.

So i need a temporary workaround to force this application to run in 32 bit mode.

I've tried launching it from a 32bit command prompt but this still runs it in 64bit mode.

Any ideas?

like image 254
CathalMF Avatar asked Jan 13 '23 04:01

CathalMF


1 Answers

Try using the CorFlags.exe tool, to force the assembly to be loaded in 32-bit mode.

like image 81
Dominic Zukiewicz Avatar answered Jan 30 '23 00:01

Dominic Zukiewicz