Hi Michael,
I have attached a sample project that embeds the DWG TrueView ActiveX control and the screenshots to show the steps to use the ActiveX in a .Net project. I have tested this in my Windows 7, 64 bit system that has DWG TrueView 2014 installed.
To try this :
1) Open Visual Studio 2010 64 bit command prompt
2) regsvr32 "C:\Program Files\Autodesk\DWG TrueView 2014\AcCtrl.dll"
3) aximp "C:\Program Files\Autodesk\DWG TrueView 2014\AcCtrl.dll"
4) copy "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ACCTRLLib.dll" "C:\Program Files\Autodesk\DWG TrueView 2014\ACCTRLLib.dll"
5) copy "c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\AxACCTRLLib.dll" "C:\Program Files\Autodesk\DWG TrueView 2014\AxACCTRLLib.dll"
6) Add reference to the assemblies in your .Net project from "C:\Program Files\Autodesk\DWG TrueView 2014\ACCTRLLib.dll" and "C:\Program Files\Autodesk\DWG TrueView 2014\AxACCTRLLib.dll"
7) Set the "Embed Interop types" for the assemblies to False as shown in the attached screenshot
8) Build and run the sample. Select a drawing using the Browse button and click on Load button
Regards,
Balaji
Balaji
Developer Technical Services
Autodesk Developer Network