Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog_loadImage
#6
Still leaks bitmaps. After certain number of using this function, Windows will stop working normally.

hb=CopyImage(hb 0 width height LR_COPYDELETEORG)

Management of bitmap handles used with static controls is quite difficult. Try to replace last 2 lines to StaticImageControlSetBitmap. It is in Archive.qml and here:
How to get bitmap of a WebCam capture, and display in dialog

StaticImageControlSetBitmap hWnd hb
DeleteObject hb


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)