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

    ATL Object Wizard is empty

    When i try to add a new Object in my ATL wizard generated application (selecting: Insert/New ATL Object) the Add a new Object is empty (based in the documentation is should contain Objects | Controls | Miscallaneous .
    Can anybody tell me what I am missing ?????


  2. #2
    Join Date
    May 1999
    Location
    Toulouse, France
    Posts
    171

    Re: ATL Object Wizard is empty

    You probably work under NT, and there's a bug in this case. If the installation was made with an an other user name, the registry is not well-updated for the others users.
    You should add in HKEY_CURRENT_USER/Software/Microsoft/ATLWizard the following of each missing object:

    1. Create a GUID with GuidGen.
    2. Create a new key under HKEY_CURRENT_USER/Software/Microsoft/ATLWizard which name is the GUID you created.
    3.Under this key, create 4 strings, called "Category", "Control", "Icon", "Name". Set their values to:
    Category = "Objects"
    Control = "object.ctl"
    Icon = "Object.ico"
    Name = "Simple Object"

    re-open ATL wizard and see the difference.
    You should do this for each basic object.

    You may find more infos to MS support site (Article ID: Q166720)

    HTH.

    K.

    NB. Generally, I don't help "Anonymous" (we are on a programmer board, not on www.sex.com...), but I have spent some times to solve this problem when it happened to me, so...

    We're talking ****, 'cause life is a 'biz
    You know it is
    Everybody tryin' to get rich
    God ****!
    All I wanna do is live !

    KoRn, Children of the Korn

  3. #3
    Join Date
    May 1999
    Location
    Toulouse, France
    Posts
    171

    New Info.

    Go to the directory where there is atlobj.dll (in general case c:\program files\DevStudio\SharedIde\bin\ide) and register it using regsvr32. It will update all the entries of your registry base.

    K.

    Ash to ash and clay to clay, if the enemy doesn't get you, your own folk may.
    We're talking ****, 'cause life is a 'biz
    You know it is
    Everybody tryin' to get rich
    God ****!
    All I wanna do is live !

    KoRn, Children of the Korn

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