One more issue

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

One more issue

Postby c0mas » Tue Jan 18, 2011 8:11 pm

I have the following scenario:
- I have a simple MFC modal dialog
- on another thread I initialize the OCX and I load a flash window with FPC_CreateWindow

In this case my modal dialog remains unresponsive (and my flash sound plays in background).

Do you know what can be the problem or how can this be avoided ?

Thanks,
/C0mas

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

Postby Softanics » Wed Jan 19, 2011 12:05 pm

Hello,

Does another thread have a message loop? Do you really need to create a window in another thread?

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 » Wed Jan 19, 2011 7:42 pm

There is no message loop on that thread.

Somehow I've managed to move all the initializations on the same thread, but I still don't know what was the problem.

One more thing :) ... it seems that one swf is playing immediately without a call to FPC_Play. Am I doing something wrong ? Or is there any way to load it and wait ?

Thanks
/C.

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

Postby Softanics » Thu Jan 20, 2011 1:20 pm

c0mas wrote:One more thing :) ... it seems that one swf is playing immediately without a call to FPC_Play. Am I doing something wrong ? Or is there any way to load it and wait ?


It seems that it's just a feature of this movie... It's impossible to "freeze" a flash movie.
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 » Thu Jan 20, 2011 6:46 pm

OK :) ... thanks


Return to “DLL Edition”

Who is online

Users browsing this forum: No registered users and 9 guests

cron