Page 1 of 1
Problems with FPCSetEventListener
Posted: Mon Dec 13, 2010 6:33 pm
by c0mas
I'm using FPCSetEventListener to get notifications to copy the flash output to a texture (same as in the provided DirectX example).
For some reason, everything is ok, except I don't get any notification, do you have any idea what might be the problem ?
Thanks
Posted: Mon Dec 13, 2010 7:43 pm
by c0mas
I have an update on this one
...
It seems that The ocx and the hwnd owner of the flash controller is in one thread and the FPCSetEventListener call and the FPC_CreateWindow is in another thread.
Posted: Thu Dec 16, 2010 7:54 pm
by Softanics
Hello,
So it works well now?
Thank you.
Posted: Fri Dec 17, 2010 7:34 pm
by c0mas
Yes, it seems to work
I have another problem now ... it seems to leak and I've traced the problem that somehow in CFlashOCXLoader::UnloadCode() the CanUnloadNow() returns FALSE.
I'm still trying to figure this out.
Any idea on this one
?
Posted: Tue Dec 21, 2010 4:10 pm
by Softanics
Probably, not all f-in-box windows are destroyed...