|
-
Jul 24th, 2001, 03:05 PM
#1
Thread Starter
Hyperactive Member
Newbie COM question
Hi,
In a COM object, can I only have a single class or can I have more than one class??
If so, how do I reference the other classes?
Cheers
MarkusJ
-
Jul 24th, 2001, 08:06 PM
#2
Fanatic Member
You can have as many classes as you like.
-
Jul 25th, 2001, 07:02 AM
#3
Addicted Member
Think of it this way:
A Component is your DLL
And a COM object as an instance of a class in your component.
So for example in ADO:
ADO is a component: ActiveX Data Objects
If you need the recordset object you call it ADODB.Recordset
The connection object? ADODB.Connection
In conclusion MyDLL.ClassName is the object of component MyDLL.
Hope this helps
André
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
|