Global Handler FPCListener on F8 doesnt work

DLL Edition of the F-IN-BOX
ramrocket
Posts: 7
Joined: Tue Mar 21, 2006 1:41 am

Global Handler FPCListener on F8 doesnt work

Postby ramrocket » Mon Mar 27, 2006 3:30 pm

I need help on this asap. Is there any alternative to make this work???

I have tried both WindowProc() and global handler FPCListener to receive notifications. I have thesame result. Works on F7 and dont work on F8. Here is a snippit of my code.

How can I make this to work??? Anything I am missing.


Thanks for your help.

:x

OnCreate()
{

//set the listener
FPCSetEventListener(m_hwndFlashPlayerControl, CFlashPlayerCtrl::FPCListener, (LPARAM) this);


}



void WINAPI CFlashPlayerCtrl::FPCListener(HWND hwndFlashPlayerControl, LPARAM lParam, NMHDR* pNMHDR)
{
CFlashPlayerCtrl *pThis = (CFlashPlayerCtrl *)lParam;
if(pThis == NULL) return;

switch (pNMHDR->code)
{
case FPCN_FSCOMMAND:
{
::MessageBox(NULL, "FPCN_FSCOMMAND called", AX_CAPTION, MB_OK);
SFPCFSCommandInfoStruct* pInfo = (SFPCFSCommandInfoStruct*)pNMHDR;

CString temp;
temp.Format("Command = %s , Args = %s", pInfo->command, pInfo->args);
::MessageBox(NULL, temp,AX_CAPTION,MB_OK);
break;
}

default: break;

}
}

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

Postby Softanics » Mon Mar 27, 2006 4:49 pm

Could you send me ( support (at) flashplayercontrol.com ) your movie and your project for testing?
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

ramrocket
Posts: 7
Joined: Tue Mar 21, 2006 1:41 am

Postby ramrocket » Tue Mar 28, 2006 3:19 am

Sending 2 flash files now.


thanks,

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

Postby Softanics » Wed Mar 29, 2006 7:09 am

I've sent a reply to you.
Best regards, Artem A. Razin,

F-IN-BOX support

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

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

Postby Softanics » Thu Mar 30, 2006 8:58 am

I see at start-up fscommand(actions, on) is called. And it works both in Flash 7 and Flash 8. How can I see the difference?
Best regards, Artem A. Razin,

F-IN-BOX support

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

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

Postby Softanics » Thu Mar 30, 2006 9:18 am

Please download this movie and test it:
http://rapidshare.de/files/16772427/fla ... e.zip.html
When you press the button fscommand("Command_Button_Pressed", "some_parameters") is calling. I've tested it and it works properly with Flash 7 and with Flash 8.
Best regards, Artem A. Razin,

F-IN-BOX support

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

ramrocket
Posts: 7
Joined: Tue Mar 21, 2006 1:41 am

Postby ramrocket » Fri Mar 31, 2006 2:00 am

Wrong URL. Can you please verify the movie zip URL??

thanks

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

Postby Softanics » Fri Mar 31, 2006 5:55 am

ramrocket wrote:Wrong URL. Can you please verify the movie zip URL??


No, it's right URL. Scroll down and click the button "Free".
Also I just have sent this ZIP by e-mail.
Best regards, Artem A. Razin,

F-IN-BOX support

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

htfv
Posts: 3
Joined: Mon Apr 03, 2006 2:24 pm

Postby htfv » Mon Apr 03, 2006 2:35 pm

I have the same problem here. I receive the FPCN_ONREADYSTATECHANGE notification but no other. CFlashPlayerControlContainer::Invoke is only called with dispIdMember = 0xFFFFFD9F.

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

Postby Softanics » Mon Apr 03, 2006 2:44 pm

htfv wrote:I have the same problem here. I receive the FPCN_ONREADYSTATECHANGE notification but no other. CFlashPlayerControlContainer::Invoke is only called with dispIdMember = 0xFFFFFD9F.


What is version of Flash you use?

Please download this movie and test it:
http://rapidshare.de/files/16772427/fla ... e.zip.html
When you press the button fscommand("Command_Button_Pressed", "some_parameters") is calling. I've tested it and it works properly with Flash 7 and with Flash 8.
Best regards, Artem A. Razin,

F-IN-BOX support

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

htfv
Posts: 3
Joined: Mon Apr 03, 2006 2:24 pm

Postby htfv » Mon Apr 03, 2006 4:33 pm

I'm using Flash OCX v8.0.22.0 loaded from resources. I also tried using OCX installed in the system. I already downloaded the test movie but it doesn't work. :(

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

Postby Softanics » Mon Apr 03, 2006 4:39 pm

I'm really need your help to fix the issue.

htfv wrote:I'm using Flash OCX v8.0.22.0 loaded from resources. I also tried using OCX installed in the system. I already downloaded the test movie but it doesn't work. :(


Please download last demo version from our site and test again. If the problem is still exists, could you please zip your project (only source, no dlls, no flash.ocx), upload this zip using http://rapidshare.de and send me link to support (at) flashplayercontrol.com
Thank you in advance.
Best regards, Artem A. Razin,

F-IN-BOX support

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

htfv
Posts: 3
Joined: Mon Apr 03, 2006 2:24 pm

Postby htfv » Mon Apr 03, 2006 5:59 pm

I have sent a mail with the link.

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

Postby Softanics » Mon Apr 03, 2006 6:08 pm

htfv wrote:I have sent a mail with the link.


Thank you. I've received it and downloaded the project. I'll write about results in the nearest time.
Best regards, Artem A. Razin,

F-IN-BOX support

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

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

Postby Softanics » Tue Apr 04, 2006 7:13 am

The result is: using flash >= 8 in ActiveX projects causes the fs_command notifications doesn't work. If flash < 8 is using, the notifications work properly. And with any version of flash, in regular (EXE) applications all work properly.
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 12 guests