Click to See Complete Forum and Search --> : ATL Object Wizard is empty


April 7th, 1999, 11:06 AM
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 ?????

Karl
April 8th, 1999, 03:37 AM
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...

Karl
April 20th, 1999, 02:25 AM
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.