Hi

> > Actually, MFC programs do have a main. It's just hidden from you.
> 
> Yes they do. But when you mentioned InitInstance() not being 
available, I
> wondered what there was in an ATL project to replace them? Where does
> program init / tidy-up code go? Do you have to use the ctor and dtor 
of the
> application class for that?

ATL classes do have something similar available. 

ATL projects are generally (but not always) servers and ATL is a COM 
technology so the frame work generally takes care of starting and 
stopping the COM runtime for you.

> 
> I know I could fire up one in the IDE but I'm using the IDE to debug 
some
> code right now and I'm a lazy buzzard too {:v)

Some of us are more didictated. ;-)

Regards
Paul

Paul Grenyer
Email: [EMAIL PROTECTED]
Web: http://www.paulgrenyer.co.uk

Have you met Aeryn: http://www.paulgrenyer.co.uk/aeryn/?
Version 0.3.0 beta now available for download.




Reply via email to