|
-
May 6th, 1999, 01:30 PM
#1
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
-
May 6th, 1999, 10:56 PM
#2
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 ?
-
May 6th, 1999, 11:24 PM
#3
Re: COM Componet creation..? Urgent
It's a known bug in VC5. See Knowledge Base article Q166720 for the fix.
-
May 11th, 1999, 06:05 PM
#4
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])
-
May 11th, 1999, 10:57 PM
#5
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
-
May 12th, 1999, 03:00 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|