[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
emuControlCenter • How to use Videos? - Page 2
Page 2 of 2

Re: How to use Videos?

Posted: 12 Nov 2012, 00:37
by Phoenix
I may have found the solution :swing:

PHP is wierd...haha

For executing this DON'T WORK because PHP stops here and WAITS for the external program to finish...

Code: Select all

exec($AutoitExe_DosPath.' '.$ScriptToRun_DosPath.' romselected');
So therefore i used the 'start /b' for some time...but that DOESN'T WORK on every machine because of your bug...

Code: Select all

exec('start /b "'.$AutoitExe_DosPath.'" "'.$ScriptToRun_DosPath.'" romselected');
start /b is a workaround to disable waiting for the script to finish!

And this WORKS!! (using the COM object) (even the eccVideoPlayer icon is shown properly now :-" )

Code: Select all

$shell = new COM("WScript.Shell");
$shell->run($AutoitExe_DosPath.' '.$ScriptToRun_DosPath.' romselected', 0, false);
Upload testfile in a second...hang on...

Re: How to use Videos?

Posted: 12 Nov 2012, 00:41
by Phoenix
Okey here it is :thumbsup: , please try!
*Edit file deleted!
(overwrite ecc-system\ecc.php)

Re: How to use Videos?

Posted: 12 Nov 2012, 00:56
by retroboyz
Win7 64bit
English
D:\Dropbox\Emulation\emuControlCenter\emuControlCenter

Re: How to use Videos?

Posted: 12 Nov 2012, 01:04
by retroboyz
It worked!!!!!! :D

You rock!

Re: How to use Videos?

Posted: 12 Nov 2012, 01:05
by Phoenix
Great to hear retroboyz!!, and thanks for testing and reporting :thumb:

Creating an update right away!! :boxing:

Re: How to use Videos?

Posted: 12 Nov 2012, 01:42
by Phoenix
Fix released in update 00553, closing...