Thread: tlbexp command

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    tlbexp command

    Hello everyone,


    I find that we can use tlbexp command like *tlbexp <dll name>* to export tlb file for a C# COM assembly, but can not use it to export tlb file for an unmanaged C++ COM DLL. Is that correct?

    I am wondering how to export tlb file of an unmanaged C++ COM DLL?


    thanks in advance,
    George

  2. #2
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    You can create tlbs from idl files in Visual C++.

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thanks prog-bman,


    Quote Originally Posted by prog-bman View Post
    You can create tlbs from idl files in Visual C++.
    How to generate type lib from IDL file using Visual Studio 2005?


    regards,
    George

  4. #4
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    You would want to create an ATL project. It should auto generate all the stuff you need to make a COM dll by default. You will see the idl for the dll included in the project.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. problem with "touch" command in c program
    By Moony in forum C Programming
    Replies: 10
    Last Post: 08-01-2006, 09:56 AM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  4. Ping problem
    By bladerunner627 in forum C++ Programming
    Replies: 12
    Last Post: 02-02-2005, 12:54 PM
  5. exe files in -c- language
    By enjoy in forum C Programming
    Replies: 6
    Last Post: 05-18-2004, 04:36 PM