drewpt
February 19th, 2002, 02:02 PM
I am new to COM/ATL programming and I am a little overwhelmed at this point. However, I'm struggling through it but have run into a problem.
In .NET, I created an ATL project and added an ATL class. The wizard generated this class for me:
CBase
with this interface:
IBase
How do I add a second interface to the CBase class? I think I can add it by hand, but I'm not sure how to generate the UUID? Certainly adding a second interface is supported via the wizard.
Any help is appreciated.
If anyone has any good documentation to point me to that would help. I have these books:
"Programming Windows with MFC"
and
"Programming Visual C++"
but there are only a couple of chapters related to ATL and COM, and with .NET appears to be a little outdated.
Thanks,
Drew
In .NET, I created an ATL project and added an ATL class. The wizard generated this class for me:
CBase
with this interface:
IBase
How do I add a second interface to the CBase class? I think I can add it by hand, but I'm not sure how to generate the UUID? Certainly adding a second interface is supported via the wizard.
Any help is appreciated.
If anyone has any good documentation to point me to that would help. I have these books:
"Programming Windows with MFC"
and
"Programming Visual C++"
but there are only a couple of chapters related to ATL and COM, and with .NET appears to be a little outdated.
Thanks,
Drew