realbasic-nug
[Top] [All Lists]

Totally stumped by class initialization weirdness

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Totally stumped by class initialization weirdness
From: Fargo <fargo at rpgportland dot com>
Date: Fri, 28 Sep 2007 12:13:25 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Some info- 2007R4, Ubuntu

Ok, so, I've been remaking my little 3d space, well, game is too 
generous, but you understand, so that it doesn't have any Quesa declares 
or really on Windows-centric operations, as well as being much more modular.

To that end I created a class to check and handle keyboard input, with a 
class subbed from timer to make callbacks to my handler routines. This 
worked out really, really nicely, so I was like "Hey, brain, let's do 
that with the camera controls, it'll be sweet" and off I went with my 
naive brain. Now, I have a pair of classes built in a nearly identical 
fashion to those, but have the weirdest problem. They fail to initialize 
unless there's a msgbox in them. Presumably other code items could 
achieve the same result, but I haven't tried much, and none of what I 
tried would produce the result. The timer class exhibits similar 
behavior, in that if it will only fire once unless a msgbox is in the 
Action event.

I was going to try and turn off incremental compiling, but I haven't 
found it yet, assuming it exists in the linux version.

Any thoughts?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>