Overriding CabApplication

Topics: CAB & Smart Client Software Factory
Jan 11, 2007 at 3:01 AM
Is it safe to override CabApplication. I'd like to do this as part of creating a non Windows forms application. Actually MFC based. Seems like it could work.

Jan 14, 2007 at 9:05 PM
It's safe to do that. The CabApplication derived classes exist to add strategies to Windows Forms applications.

I've never experiment with MFC and CAB but I did some work integrating it with Office apps (VSTO). Check these two posts:


Jan 19, 2007 at 3:06 AM
Guess more I think about this the more I'm not sure. The way I'm considering is that the shell application would be MFC so CAB would be running on the main thread of an MFC application. By itself this might work but if MFC needed to talk to CAB system or other way I think maybe problems between platforms would emerge. Might give it a try anyway. Also what about handling simple cases such as MFC application shutdown. These type things all need to be passed to CAB potentially and / or CAB shutdown to MFC