Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I create my own COM Object

Status
Not open for further replies.

elismaj

Programmer
Aug 1, 2005
3
0
0
CA
I wanna create a COM Object that goes into the Ole Automation Object list. Is there a way to create my own component object that refer to an existing own elsewhere (outside the automation object list)

I'm new at this, some help would be great!
 
the Ole Automation List is just a list of some windows registry subtree.

The first tree is HKEY_CLASSES_ROOT,
you should have your ProgID there, for example look at Excel.Application, you can put any name, for example MyXXX, or Your.YYY.DontKnowWhat.
In your key put the subkey CLSID (it's value is a GUID) indicating what this is an OLE object,
for example {..-FFFF.-..}.

Next key HKEY_CLASSES_ROOT\CLSID
you should have a subkey there, this one should be
identicall with your {..-FFFF.-..}

Ant there is also much more information you should know about what you can put in the registry.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top