-
Install Autodesk True view, refer here to get latest
-
Find
dwgviewrAcCtrl.dll
, this file is located in"C:\Program Files\Common Files\Autodesk Shared\dwgviewrAcCtrl.dll"
. -
Launch Visual Studio 2017 Developer Command Prompt or launch
cmd.exe
in administrator mode,cd /d "C:\Program Files\Common Files\Autodesk Shared"
- run
call "%VS140COMNTOOLS%"\vsvars32.bat
. This will set VS 2017 developer environment. This step is required if you are launchingcmd.exe
-
regsvr32 dwgviewrAcCtrl.dll
, A dialog will pop up that DLL registration is successful -
We will use
aximp
this ActiveX Control Importer converts type definitions in a COM type library for an ActiveX control into a Windows Forms control.
-
Clone the project.
-
git clone
https://github.com/MadhukarMoogala/EmbedTrueView.git -
cd EmbedTrueView\EmbedTrueView
-
devenv EmbedTrueView.sln
-
add
C:\Program Files\Common Files\Autodesk Shared
as reference directory.
-