LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Clear Clipboard in LabWindows CVI

Hallo everybody.
I have a problem to manage the clipboard of windows in LabWindows/CVI.
I copy data (bitmap image) in the clipboard to pass then the image a picture control.
After 5-6 passtrough i have the problem of out of memory.
Exist the mode or function to clear the data in clipboard, to delete the previous data before insert a new data in clipboard?

thank you
0 Kudos
Message 1 of 2
(3,467 Views)

Are you discarding the bitmaps after you paste it?  For example:

ClipboardPutBitmap (hBitmap);
   < do your pasting>

DiscardBitmap(hBitmap);

0 Kudos
Message 2 of 2
(3,435 Views)