Bug in CreatePort()

Report any Hollywood bugs here
Post Reply
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

Bug in CreatePort()

Post 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")
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Bug in CreatePort()

Post by airsoftsoftwair »

On what platforms does this occur?
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

Re: Bug in CreatePort()

Post by PEB »

This is happening on OS4.
I'll try testing on Windows later today.
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

Re: Bug in CreatePort()

Post by PEB »

The same bug shows up under Windows.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Bug in CreatePort()

Post 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.
Post Reply