Problems with FPCSetEventListener

DLL Edition of the F-IN-BOX
c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Problems with FPCSetEventListener

Postby c0mas » Mon Dec 13, 2010 6:33 pm

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

c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Postby c0mas » Mon Dec 13, 2010 7:43 pm

I have an update on this one :D ...

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.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Dec 16, 2010 7:54 pm

Hello,

So it works well now?

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

c0mas
Posts: 20
Joined: Sat Nov 27, 2010 5:01 pm

Postby c0mas » Fri Dec 17, 2010 7:34 pm

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 :) ?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Tue Dec 21, 2010 4:10 pm

Probably, not all f-in-box windows are destroyed...
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 19 guests

cron