DPlot.exe keeps running...
Posted: Fri Aug 28, 2009 9:54 am
Hi,
In my application I keep replotting a 3D surface in dialog box as I recalculate it.
I noticed: when I quit my program the DPlot.exe stays on the task manager's process list. (It pops up in there when I start my program up.)
But I noticed that when I start/stop the program several times the, the
program starts acting up on the plotting: becomes slow and eventually it stops working.
Sometimes the program will plot OK if I kill the DPlot.exe in the process list after I quit my program.
Another interseting thing: when the progroram for some reason does not plot on my dialog box and I kill the DPlot.exe, the DPlot.exe APPLICATION will pop up an the plot will be displayed there (not in my dialog box.)
What is going on?
Peter
PS.:
The way I initate the plot in my program is in my main program loop after the calculations are finished I am sending a message to the plot display dialog box
(simulating a button click event). In that button press routine I set up the pot parameters and execute
In my application I keep replotting a 3D surface in dialog box as I recalculate it.
I noticed: when I quit my program the DPlot.exe stays on the task manager's process list. (It pops up in there when I start my program up.)
But I noticed that when I start/stop the program several times the, the
program starts acting up on the plotting: becomes slow and eventually it stops working.
Sometimes the program will plot OK if I kill the DPlot.exe in the process list after I quit my program.
Another interseting thing: when the progroram for some reason does not plot on my dialog box and I kill the DPlot.exe, the DPlot.exe APPLICATION will pop up an the plot will be displayed there (not in my dialog box.)
What is going on?
Peter
PS.:
The way I initate the plot in my program is in my main program loop after the calculations are finished I am sending a message to the plot display dialog box
Code: Select all
SendMessage( GetDlgItem(Show3DhDlg, IDC_SHOW3DBUTTON), BM_CLICK, 0, 0);
Code: Select all
DocNum = dPlot_Plot8(&DPlot, extents, Rec3d, szExec);
if (DocNum) {
SetBitmapToFrame();
}