Page 1 of 1

FPC_EnableFullScreen buffer overflow = crash

Posted: Sat Dec 11, 2010 1:34 pm
by Abelorn
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

Posted: Mon Dec 13, 2010 1:27 pm
by Softanics
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.

Posted: Tue Dec 14, 2010 10:05 am
by Abelorn
yes, it does :cry:

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

Posted: Thu Dec 16, 2010 7:53 pm
by Softanics
Unfortunaly, no such function...