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

Kevin Fishburne kevinfishburne at ...1887...
Sat Sep 8 08:05:27 CEST 2012


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?

-- 
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