From: fobefut fobefut (fobefut++at++msn.com)
Date: 06/30/2003 04:00:24
Hello, Performer users.
I'm now developing MFC-based visual application using Performer.
The environment I have used is described below.
1) Visual C++ 6.0 (service pack 5)
2) Windows 2000 or XP
3) MFC-based windows application
During combining MFC and Performer libraries into one application,
I performed three cases of tests.
1. Console Performer program (without using MFC)
2. MFC based program using Performer routines as thread
3. MFC based program with Performer routines melted in the MFC routines
After testing a several times, I've got the following results.
"1" works well without any problem.
"2" dies after some time because of heavy memory leaks.
"3" also have a problem about memory leaks.
Especially, I programmed "3" for MFC-based windows as below.
win->setWinType(PFPWIN_TYPE_X);
win->setWSWindow(NULL, AfxGetMainWnd()->GetSafeHwnd());
win->setWSDrawable(NULL, GetSafeHwnd());
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
This archive was generated by hypermail 2b29 : Mon Jun 30 2003 - 04:02:39 PDT