Shutterbug
asked on
A few simple ATL DLL Questions
Hi, a couple of questions relating to ATL (COM) DLL's. I'm moving from MFC to ATL/WTL, so I'm having to get away from MFC Extension DLLs. Basically, most of these relate to a replacement for my happy MFC Extension DLL way.
1) What is the (myproject)PS project? What function does it serve, and when would I need to use it?
2) With an ATL COM DLL, is there a way to export a C++ Class (for example, a derivation of CWindowImpl) from the DLL? If so, how; if not, is there an alternate way with a different type of dll?
3) With these COM objects and such, aren't all the methods to the interface exposed to anyone wanting to look at them? Is there a way to prevent this?
I'm very new to COM, but I fear it's something that will not go away. Any tips would be *greatly* appreciated. :) I'll split points if need be.
Thanks.
1) What is the (myproject)PS project? What function does it serve, and when would I need to use it?
2) With an ATL COM DLL, is there a way to export a C++ Class (for example, a derivation of CWindowImpl) from the DLL? If so, how; if not, is there an alternate way with a different type of dll?
3) With these COM objects and such, aren't all the methods to the interface exposed to anyone wanting to look at them? Is there a way to prevent this?
I'm very new to COM, but I fear it's something that will not go away. Any tips would be *greatly* appreciated. :) I'll split points if need be.
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.