Page 1 of 1

FPCM_GET_FRAME_BITMAP crash

Posted: Tue Jul 17, 2012 8:22 am
by asdw
Hello,

my program uses this code:

Code: Select all

SFPCGetFrameBitmap fbmp = { 0 };
SendMessage(this->m_flashHwnd, FPCM_GET_FRAME_BITMAP, 0, (LPARAM)&fbmp);

to get the image from the flash window (after this i create a gdi+ bitmap from the returned hbitmap object). It's working perfectly, but some flash throws an unhandled exception (Access violation reading location) to the SendMessage line after few minutes.
I have no idea why this happens.

Any help appreciated.

Posted: Wed Aug 01, 2012 1:32 pm
by Softanics
Hello,

I see your ticket, let's continue there.

Thank you!