I can not close Powerpoint

  • Thread starter Thread starter Leon
  • Start date Start date
L

Leon

I build the project by VS.Net wizard, but it can not
support event directly.
I found a example code from MSDN:
Handle PowerPoint Events by Using Visual C++ .NET and
MFC http://support.microsoft.com/default.aspx?scid=kb;En-
us;q309309
But when I follow the example, I found I can not close my
host application (PowerPoint) normally, it can not call
OnDisconnect() when I debug it.
So when I close powerpoint, the window is closed, but the
process is still in memory (shown in taskmgr).

So, why? and how to?
 
Don't know if your code contains any unqualified references, but for
one reason why the target application will not quit is at
Program won't quit
http://www.tushar-mehta.com/excel/vba/xl_doesnt_quit/index.htm

That's really a beautifully done explanation, Tushar.

Thanks!
Of course, there might be other reasons related to C++ and .Net... :)

--
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Featured Presenter, PowerPoint Live 2004
October 10-13, San Diego, CA www.PowerPointLive.com
================================================
 
Thanks for the compliment. Knowing your standards it means something.
{smile}

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
Back
Top