LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Out of memory When I use CancvasDrawRect

Sir/Madom
I am running a application with framegrabber ,It capture the video immage with 0.5 second interval , I draw a rectangle over the video picture,with 0.5 time interval. It works pefectly for an hour.
When I debug the application,I got Out of memory error within two hours
(return value -12) break at the line
CanvasDrawRect(Panelhandle,ControlId,Rect,DrawMode)
Draw mode is VAL_DRAW_FRAME.
I am using ClearCnvas function also,
Can you help to me solve this problem
thank you
regards
pathman@kongsberg.com
0 Kudos
Message 1 of 1
(2,716 Views)