To Create an Interop Assembly of the CAD Standards Type Library (ActiveX/CSP)

An interop assembly needs to be generated from the of the CAD Standards type library (TLB) file before you can link the library to a project. You create an interop from a TLB file with the Tlbimp.exe application.

Note: Based on the edition and version of Microsoft Visual Studio installed, you might need to download and install the Windows SDK to access the Tlbimp.exe application. The Windows SDK can be downloaded from https://msdn.microsoft.com/en-us/windows/desktop/aa904949.aspx.

Microsoft Visual Studio (Professional and higher)

  1. On the Start menu, click [All] Programs Microsoft Visual Studio <release> Visual Studio Tools and then choose one of the following based on release:
    • Microsoft Visual Studio 2008 - Visual Studio 2008 Command Prompt
    • Microsoft Visual Studio 2010 - Visual Studio Command Prompt (2010)
    • Microsoft Visual Studio 2012 - Developer Command Prompt for VS2012
    • Microsoft Visual Studio 2013 - Developer Command Prompt for VS2013
  2. In the Command Prompt window, enter the following based on the ObjectARX SDK version and target Windows platform:

    Windows x86 (32-bit)

    cd "<drive>:\ObjectARX <version>\inc-win32"

    Windows x64 (64-bit)

    cd "<drive>:\ObjectARX <version>\inc-x64"
    Note: Substitute <drive> and <version> with the drive letter in which the ObjectARX SDK is installed and the version you are building the application against.
  3. Type tlbimp acstmgr.tlb and press Enter.

    The file AcStMgr.dll will be added to the target folder.

Microsoft Visual Basic Express Edition

  1. On the Start menu, click [All] Programs Accessories Command Prompt.
  2. In the Command Prompt window, enter the following based on the ObjectARX SDK version and target Windows platform:

    Windows x86 (32-bit)

    cd "<drive>:\ObjectARX <version>\inc-win32"

    Windows x64 (64-bit)

    cd "<drive>:\ObjectARX <version>\inc-x64"
    Note: Substitute <drive> and <version> with the drive letter in which the ObjectARX SDK is installed and the version you are building the application against.
  3. Type "C:\Program Files\Microsoft SDKs\Windows\<version>\Bin\tlbimp.exe" acstmgr.tlb and press Enter.
    Note: Substitute <version> with the version of the Microsoft SDK you installed.

    The file AcStMgr.dll will be added to the target folder.