|
-
Aug 19th, 2010, 05:31 PM
#1
Thread Starter
Hyperactive Member
compile on WIN7 64bit
I'm using VB.net 2010 express, where can I find the compiler option for 64bit? or, it will compile for 32bit only? or, it should work for both 32 and 64 bit in most case?
I'm using a 64bit component in the program, vb express reports error when I compile it, but if I use the 32bit compnent, then it is ok.
does it mean express 2010 automatically compile to 32bit? or somewhere I should set the win7 64bit (which is what i'm using).
just start using win7 64bit & vb express 2010, got confused.
thanks
-
Aug 19th, 2010, 05:47 PM
#2
Re: compile on WIN7 64bit
Pulled from another site, but I can't say it any better .
Go to the Project property setting. Select Compile tab on the left and click on the Advanced Compiler Options.. The Target CPU options that you could use, ie Any CPU, x86, x64 and Itanium
-
Aug 19th, 2010, 05:50 PM
#3
Re: compile on WIN7 64bit
From what I understand Express will compile to suit the version of Windows you are using - so as you are using win7 64bit, it will compile to 64 bit.
I'm using a 64bit component in the program, vb express reports error when I compile it, but if I use the 32bit compnent, then it is ok.
...and the details of the error are?
-
Aug 19th, 2010, 06:11 PM
#4
Thread Starter
Hyperactive Member
Re: compile on WIN7 64bit
in vb 2010, under advanced option for compiler, it does not have any setting for "CPU" selection.
the detailed error is:
Error: System.BadImageFormatException: Could not load file or assembly. An attempt was made to load a program with an incorret format.
the error shows up when I use 64bit component. if I use 32bit component, it is ok. this makes me think maybe express 2010 compile for 32bit only?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|