CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Guest

    COM Componet creation..? Urgent

    Hi,

    Envornment: VC++5.0,WinNT

    Iam trying create a COM component from ATL COM apppwizard and when I tried to add the COM object to the project from the ATL Object wizard none of the ATL objects are listed.Please let me know how to procede further.

    THanx in advance.

    NMNB


  2. #2
    Join Date
    May 1999
    Location
    Fremont, CA
    Posts
    10

    Re: COM Componet creation..? Urgent

    I also faced the same problem.
    I reinstalled VC++. It got corrected
    This may be due to installation option ?
    There is one installation option to include ATL during installation - may be that was uncheked ?


  3. #3
    Join Date
    May 1999
    Posts
    42

    Re: COM Componet creation..? Urgent

    It's a known bug in VC5. See Knowledge Base article Q166720 for the fix.


  4. #4
    Guest

    Register ATLOBJ.DLL

    Hi,
    There is a DLL called ATLOBJ.dll in a directory under visual Studio's main directory(i think its common).Its a in-proc COM server and it has to be registered to get all the objects supported by the ATL Object Wiz.So just register it by running RegSvr32..

    RegSvr32 atlobj.dll

    this will do the trick ([email protected])


  5. #5
    Join Date
    May 1999
    Location
    13 N 77 E
    Posts
    183

    Re: Register ATLOBJ.DLL

    I have this problem often. Uninstall VC
    Log in as administrator, install VC and always use the administrative login....Other logins will not show the wizard objects


  6. #6
    Join Date
    May 1999
    Posts
    1

    Re: COM Componet creation..? Urgent

    If you are creating ATL project, EXE or DLL, after creating, select "insert" menu, select "New Atl Object" menu & add interface. Now when you will select "class view", you will be able to see interface you added. When you right click on the interface, you can add properties or methods.

    You can refer book "Beginning ATL COM porgramming by Dr Richrd Grimes".


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured