471,627 Members | 1,424 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

x64

My application written using Net.Framework 2.0 doesn't
run on 64bit platform. I've got message that application isn't
properly configured. What do I have to do to make my app
runable on both platforms?

The same application compiled with older Net.Framwrork
runs normally on 64 platform. I think that 64 bit XP recognises
it propelly as a 32bit app and runs it using 32 Net.Framework
1.1. But Net 2.0 are installed in 64bit version and it tries to run
my app as an 64 bit application. I't sauses an error wtitten above...
Dec 16 '05 #1
2 1244
not much details is given about your application but as guessing goes, if
you are making any 32 bit native calls then you might have problem in
running 32bit apps on 64bit CLR. Basically v2.0 come in 2 modes, 32 & 64,
and both are installed together. If your app is written in C++.Net then
there are few limitations (or diff between managed c++ and c#). More
specificly IJW assemblies. By default managed c++ assemblies are platform
specific, not a case with C# or vb.net. Said that, there are options in v2
that you can set to force complilers to use either 64 or 32 bit process
platform. To make runnable on all kind of CPU you wlil have to set it for
'anycpu' option.
"Jacek Jurkowski" <pc*****@priv1.onet.pl> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
My application written using Net.Framework 2.0 doesn't
run on 64bit platform. I've got message that application isn't
properly configured. What do I have to do to make my app
runable on both platforms?

The same application compiled with older Net.Framwrork
runs normally on 64 platform. I think that 64 bit XP recognises
it propelly as a 32bit app and runs it using 32 Net.Framework
1.1. But Net 2.0 are installed in 64bit version and it tries to run
my app as an 64 bit application. I't sauses an error wtitten above...

Dec 16 '05 #2

"Jacek Jurkowski" <pc*****@priv1.onet.pl> wrote in message
news:eX**************@TK2MSFTNGP10.phx.gbl...
My application written using Net.Framework 2.0 doesn't
run on 64bit platform. I've got message that application isn't
properly configured. What do I have to do to make my app
runable on both platforms?

The same application compiled with older Net.Framwrork
runs normally on 64 platform. I think that 64 bit XP recognises
it propelly as a 32bit app and runs it using 32 Net.Framework
1.1. But Net 2.0 are installed in 64bit version and it tries to run
my app as an 64 bit application. I't sauses an error wtitten above...


Are you sure you have the 64bit version of the framework installed? You
should have two Framework folders under Microsoft.NET in your Windows folder
one called Framework and another Framework64.
If your MSIL program is compiled with /platform:anycpu (the default) it will
run as 64bit process on X64, there is nothing you can do about this, it's
the OS who decides this. If its compiled with /platform:x86 it will run as a
32bit process.

Willy.


Dec 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by William C. White | last post: by
2 posts views Thread by Albert Ahtenberg | last post: by
3 posts views Thread by James | last post: by
reply views Thread by Ollivier Robert | last post: by
1 post views Thread by Richard Galli | last post: by
4 posts views Thread by Albert Ahtenberg | last post: by
1 post views Thread by inderjit S Gabrie | last post: by
2 posts views Thread by Jack | last post: by
3 posts views Thread by Sandwick | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.