Posted Monday, 8 October, 2007 - 16:12 by the Fiddler.
I've fixed the build issues in my working copy, but I won't be able to commit the changes for the next 24 hours or so due to lack of time (I'm in the middle of an examination period...)
Posted Wednesday, 24 October, 2007 - 16:24 by george
Thanks, that all compiles fine now.
I still can't seem to subclass GLControl effectively though, I just get black.
Are there any special considerations I should be aware of to make this work, or am I just being dumb?
Posted Wednesday, 24 October, 2007 - 16:43 by the Fiddler.
I just commited a very simple change that forces the construction of the GLControl during the InitializeComponents() call. Can you test again and see if it works any better?
Posted Wednesday, 24 October, 2007 - 16:54 by george
Ok, that kind of works. But it's gone a bit weird.
The first time I run it in the debugger after compiling, it gives me the null reference exception when I first call a GL function, but continues fine if I close the exception window, and subsequent runs work fine until I recompile.
It might be something at my end, I'll try cleaning out old intermediates and stuff.
Comments
I've fixed the build issues
I've fixed the build issues in my working copy, but I won't be able to commit the changes for the next 24 hours or so due to lack of time (I'm in the middle of an examination period...)
no problem, just thought i'd
no problem, just thought i'd let you know.
Yeah, thanks :)
Yeah, thanks :)
Ok, fixed the problems, the
Ok, fixed the problems, the new GLControl should now build and run correctly.
Thanks, that all compiles
Thanks, that all compiles fine now.
I still can't seem to subclass GLControl effectively though, I just get black.
Are there any special considerations I should be aware of to make this work, or am I just being dumb?
I'm testing right now, I'll
I'm testing right now, I'll let you know what I come up with.
I just commited a very
I just commited a very simple change that forces the construction of the GLControl during the InitializeComponents() call. Can you test again and see if it works any better?
Ok, that kind of works. But
Ok, that kind of works. But it's gone a bit weird.
The first time I run it in the debugger after compiling, it gives me the null reference exception when I first call a GL function, but continues fine if I close the exception window, and subsequent runs work fine until I recompile.
It might be something at my end, I'll try cleaning out old intermediates and stuff.
OK, I deleted my obj and bin
OK, I deleted my obj and bin folders and it works properly now.
Cheers.
Glad to hear!
Glad to hear!