Software Archive
Read-only legacy content
17061 Discussions

Collectiosn and Events

Intel_C_Intel
Employee
788 Views
Can I use the FORTRAN COM Server wizard to add collections and events to my COM object? (Through loading a pre-defined interface?). If I can, how do I do it? If I can't, why not? :)
0 Kudos
3 Replies
Intel_C_Intel
Employee
788 Views
Hi Dan,

No, you cannot currently add an existing interface definition using the COM Server Wizard. That capability is high on my wish-list for the wizard, but I don't know when it will be done.

Regards,
Leo
0 Kudos
Intel_C_Intel
Employee
788 Views
Hi,

Leo's reply meant that you can't automatically add an existing interface as described in a Type Library. You can of course usually add the interface yourself by hand. There are a couple of past threads in this forum on this topic. (here and here)

-John
0 Kudos
Intel_C_Intel
Employee
788 Views
Thanks guys - at least I know I'm not missing anything. I appreciate that I could use VB / VC - but I was hoping to avoid mixed language problems (because I'm lazy!). As far as reimplementing interfaces by hand - I don't fancy that much...but just in case, what are the interfaces I'd need to implement for Collections and Events?
0 Kudos
Reply