Answered by:
Switching Between Class 32/64 Bit Library References In Same Project

Question
-
I have a VC++ 2008 Windows Forms App that I am porting over to x64. I will deliver separate 32 bit and 64 bit builds.
I have several class libraries I have created that import as references in the project Common Properties Page. This reference appears to be global to all project configurations, both 32 and 64 targets.
I don't know how to run the application in debug mode unless the references match the platform I'm debugging on. For example, if I have the references set to the 32 bit .DLL builds, the 64 bit application won't run.
Is there a way to switch between WIN32 and x64 library reference configurations during development so that the correct .DLL class library will be accessed during debugging?
Thanks for your help.
Scanner Man
- Moved by Amanda Zhu Monday, April 1, 2013 8:01 AM not sure which forum the issue should belong to
Sunday, March 31, 2013 3:26 AM
Answers
-
I believe this should be asked in the Visual C++ Language forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
My Blog: http://unlockpowershell.wordpress.com
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})- Proposed as answer by Ed Price - MSFTMicrosoft employee Monday, April 1, 2013 8:25 PM
- Marked as answer by Zoltán HorváthMVP Monday, April 8, 2013 9:09 AM
Monday, April 1, 2013 3:56 PM
All replies
-
I believe this should be asked in the Visual C++ Language forum.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
My Blog: http://unlockpowershell.wordpress.com
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})- Proposed as answer by Ed Price - MSFTMicrosoft employee Monday, April 1, 2013 8:25 PM
- Marked as answer by Zoltán HorváthMVP Monday, April 8, 2013 9:09 AM
Monday, April 1, 2013 3:56 PM -
I've resubmitted the question on the VC++ formum. Thanks Karl.
Scanner Man
Monday, April 1, 2013 4:57 PM -
You are welcome :)
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
My Blog: http://unlockpowershell.wordpress.com
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})Monday, April 1, 2013 7:13 PM