Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
How can I register a COM object?
Hi,
Let's say I have a project called "MyProject" with an OLEPUBLIC class in it called "MyOleClass". After building this project, I can use the "createobject" method to instantiate a "MyOleClass" object.
When I distribute a project using a "MyOleClass" object, what are the steps to make my COM component accessible?
I.E. If, in another project, I use the lines:
PUBLIC goMyObject
goMyObject = CREATEOBJECT("MyProject.MyOleClass")
I get a "... class definition not found..." error! What do I need to do to register my "MyProject" project and hence, my "MyOleClass" class?
Thanks a lot, Stephane.
P.S. I used WINNT as a developpement environment but the target OS (where I wish to install my project) is Win98.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement