Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15057

PAINTSTRUCT ; BeginPaint; EndPaint ( x64 bit )

$
0
0
Hi all,

I have written some code that handles the WM_PAINT in order to do some custom drawing on a subclassed userform.

The code works fine as expected in x32 but, in a x64 process, the code freezes after a couple of hundred cycles.

All the API declarations and structures are correctly adapted\resized for x64bit and each used GDI and GDIPlus object is properly released after each cycle to prevent any memory leaks.

The code is quite extensive that's why I am not posting it here.

So the question is : Does anybody know why there is no problem running the code in x32bit but freezes in x64bit ? Is this a known bug or something ?

Viewing all articles
Browse latest Browse all 15057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>