FPC_EnableFullScreen buffer overflow = crash

DLL Edition of the F-IN-BOX
Abelorn
Posts: 7
Joined: Wed Dec 08, 2010 11:26 am

FPC_EnableFullScreen buffer overflow = crash

Postby Abelorn » Sat Dec 11, 2010 1:34 pm

Hi, i wanted to get simular thing to F12 FullScrean from Flash Projector

i register a hotkey then get it but on return line program crashes debug says buffer overflow =\ can you make things clear how can FPC_EnableFullScreen be used?

Code: Select all

else if(WM_HOTKEY == message)
   {
      else if(wParam == 200)
      {
         FPC_EnableFullScreen(m_hwndFlashPlayerControl, TRUE);
         //return 1;
      }
      
   }

    return CDialog::WindowProc(message, wParam, lParam);

no matter which return is used it crashes :( tested on latest flash activex

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

Postby Softanics » Mon Dec 13, 2010 1:27 pm

Hello,

FPC_EnableFullScreen enables full screen mode, but doesn't switch to it.

By the way, if you call FPC_EnableFullScreen just after loading a movie, does it crash too?

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

Abelorn
Posts: 7
Joined: Wed Dec 08, 2010 11:26 am

Postby Abelorn » Tue Dec 14, 2010 10:05 am

yes, it does :cry:

if it's not the thing, can there be any simular action to Adobe Projector's F12 Fullscree function?

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:53 pm

Unfortunaly, no such function...
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 9 guests

cron