Page 1 of 1

Bug in CreatePort()

Posted: Sat Jan 12, 2013 7:00 pm
by PEB
This bug shows up if CreatePort() is used together with @DISPLAY {Hidden=True}.

Here's a simple example:

Code: Select all

@DISPLAY {Hidden=True}
CreatePort("GUIPORT")

Re: Bug in CreatePort()

Posted: Tue Jan 15, 2013 5:23 pm
by airsoftsoftwair
On what platforms does this occur?

Re: Bug in CreatePort()

Posted: Tue Jan 15, 2013 11:00 pm
by PEB
This is happening on OS4.
I'll try testing on Windows later today.

Re: Bug in CreatePort()

Posted: Tue Jan 15, 2013 11:31 pm
by PEB
The same bug shows up under Windows.

Re: Bug in CreatePort()

Posted: Thu Jan 17, 2013 9:08 pm
by airsoftsoftwair
This is actually not a bug, but a feature (although it isn't documented anywhere). On some systems the message mechanism requires an open window so that is why Hollywood currently blocks CreatePort() on all system if the current display is not visible. This might change in the future, though.