Active Contributor
Posts: 35
Registered: ‎08-30-2010
Message 1 of 4 (709 Views)

64-bit with Visual Studio Express (VB.net)

709 Views, 3 Replies
08-18-2011 11:45 AM

We are starting to make the move to 64-bit AutoCAD, as such my 32-bit dlls for all of the vb.net applicatons I  have written are no longer functional.  I understand that I need to change the target platform somwhow but I am using the express version of visual studio 2010 (With some tweaks 2010 works fine) but x86 is the only option that I have available.

I have read that I need to install he Windows Software Devopment kit in order to get 64-bit working under these conditions and I have but I'm not sure where to go from here.


Any help would be greatly appreciated, as I am completely dead in the water right now.



Jason Self 

Board Manager
Posts: 362
Registered: ‎05-22-2006
Message 2 of 4 (698 Views)

Re: 64-bit with Visual Studio Express (VB.net)

08-18-2011 12:43 PM in reply to: JasonSelf

Funny you should ask that today. See the post I just made about the updated AutoCAD .NET Wizards. You could use that to generate a revised project file and copy your old .vb or .cs files into the new one. I've been testingVB Express with the updated Wizards and AutoCAD 64-bit on Windows 7, and its working fine.





Stephen Preston
Autodesk Developer Network
Active Contributor
Posts: 35
Registered: ‎08-30-2010
Message 3 of 4 (639 Views)

Re: 64-bit with Visual Studio Express (VB.net)

08-19-2011 09:19 AM in reply to: StephenPreston

Initially I thought that this was going to solve my problem..and it looks like going forward it is what I will do.  My problem is that my original application is using winforms.  The wizard uses WPF and so when I try to import the forms I only get the vb code and not the form in 'design view'.  What all do I need to change in the files to get it to target any cpu?  I notice that x86 is all that is available using the standard templates.

ADN Support Specialist
Posts: 123
Registered: ‎08-15-2007
Message 4 of 4 (619 Views)

Re: 64-bit with Visual Studio Express (VB.net)

08-19-2011 12:20 PM in reply to: JasonSelf

Hi Jason,


If you dont want to use the wizard that Stephen mentioned, you will have to change the settings in the .vbproj file manually in a text editor.


I am attaching the VBPROJ file of a sample I created quickly (using VS 2008) with setting ANYCPU and referencing acmgd and acdbmgd from the 32 bit folder of the ObjectARX 2010 SDK.


Please open it with a text editor like notepad and compare it with the VBPROJ file of your application to see what the fundamental project differences are. It should be easy enough to spot.


However, there is another problem that might force you  to maintain separate source trees for 32 bit and 64 bit platforms (you will have to maintain at least separate VBPROJ files). Up until 2010 acmgd and acdbmgd had incompatible versions between 32 and 64 bit platforms. This issue was fixed in 2011 going forward but for 2010, this means that the reference paths have to be different between for 32 and 64 bit applications for acmgd and acdbmgd.


Sorry if this is bad news.



Gopinath Taget

Autodesk Developer Network


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community