Just wanted to share some frustration and maybe save you some.
64 bit Windows does not play well with Visual Studio.
I was excited about 64 bit: Windows 7, AutoCAD 2011, Visual Studio 2010. What could go wrong?
Before you caution me on "bleeding edge" the issues are the same with any 64 bit Windows and other versions of AutoCAD and VS.
1. You will loose your favorite feature in Visual Studio - "Edit and Continue". Docs tell you that you can simply target x86 platforms but then you can't reference the x64 AutoCAD dlls. As an AutoCAD programmer you are stuck.
2. Visual Studio will NOT throw an error when unhandled exceptions occur. See
https://connect.microsoft.com/VisualStudio/feedback/details/357311/silent-exceptions-on-x64-development-machines#details It just swallows the error and your program doesn't work. (or worse)
The second one is the ultimate Catch 22. This is from MS:
Unfortunately where is nothing that the Visual Studo team can do to address this, it is the result of operating system design. All feedback regarding this issue should be addressed to the Windows team; however the Windows team considers this to be the "correct" operating system design, and considers the x86 behavior to be "incorrect".
Sounds like the recent BP-Halliburton debates over who is responsible for the oil gushing into the gulf.