Home All Groups Group Topic Archive Search About
Author
27 May 2009 1:12 AM
Darin
If i compile my VB.NET application for AnyCPU, is there a way at
run-time to force it to run 32bit on a 64bit OS?

Darin

*** Sent via Developersdex http://www.developersdex.com ***

Author
27 May 2009 4:01 PM
nak
Hi Darin,

> If i compile my VB.NET application for AnyCPU, is there a way at
> run-time to force it to run 32bit on a 64bit OS?

    Processor optimisations are done at compile time, so unfortunately not.
If you want to force it to 32bit, create a 32bit build and install it on a
64bit OS, it will install in the x86 Program Files folder.

Nick.
Author
27 May 2009 4:07 PM
nak
Actually, tell a lie...

http://social.msdn.microsoft.com/Forums/en-US/clr/thread/f239714b-9b93-4774-84b5-419cd6fab90e

Still, personally, I'd just build it as a 32bit app, but that's just my
opinion.

Nick.
Author
27 May 2009 5:39 PM
Darin
thanks. we have one customer that wants it always 32bit but all other
customers want it either 64 or 32.

I will test this command out.

Darin

*** Sent via Developersdex http://www.developersdex.com ***