[Gambas-user] gb3: The program has returned the value: 1

Kevin Fishburne kevinfishburne at ...1887...
Sun Sep 9 08:54:01 CEST 2012


On 09/08/2012 02:05 AM, Kevin Fishburne wrote:
> I get this when running my program:
>
> 01:59:43.168 - Initializing network:
> 01:59:43.169 -   Server Mode: False, Server IP Address: 192.168.0.110,
> Server Port: 12345
> 01:59:43.169 - Initializing rendering engine:
> X Error of failed request:  BadWindow (invalid Window parameter)
>     Major opcode of failed request:  3 (X_GetWindowAttributes)
>     Resource id in failed request:  0x1e0008d
>     Serial number of failed request:  54
>     Current serial number in output stream:  55
>
> What's strange is that it works fine when running a compiled executable
> and only shows the error when running in the IDE. This occurred after
> moving several procedures to their own module and renaming all
> associated variables and many procedures (organizational modifications).
>
> The line where it halts is ".Show()":
>
>       ' Create client's screen.
>       With Screen
>         .FullScreen = sFullscreen
>         .Width = sWidth
>         .Height = sHeight
>         .Show()
>       End With
>
> Any ideas?
>

If anyone asks this question again in the future, please tell them to 
recompile and use the latest build. If you're in a questionable mood, 
add that they're an idiot. :)

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271





More information about the User mailing list