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

Benoît Minisini gambas at ...1...
Sat Sep 8 10:07:14 CEST 2012


Le 08/09/2012 08:05, Kevin Fishburne a écrit :
> 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?
>

No more details? What are you doing in the IDE exactly? Why do you say 
"the line where it halts"? Do you get an error or just an X11 error 
message? Is FullScreen set or not?...

-- 
Benoît Minisini




More information about the User mailing list