A few simple ATL DLL Questions
Posted on 2003-12-05
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.