Game Development Community

Console Object, Now you see it, now you don't

by Barry Foust · in Torque Game Engine · 08/14/2008 (5:10 am) · 5 replies

This should be a simple problem, but I can't figure it out. I added a console object to the engine. I built the engine with MS Visual C++ 2008 Express Ed. and when I run my project from the VC++ debugger, my scripts can instantiate and access the console object and it works fine. But when I launch the tgb/TorqueGameBuilder_DEBUG.exe file directly from windows, the scripts don't see the object (Unable to instantiate non-conobject class t2dDShow). The date on the .exe I'm running tells me it is the one I'm building. Running the same project/scripts in both cases. Am I missing something?

About the author

Recent Threads


#1
08/14/2008 (6:10 am)
I added a ConsoleInit function to my object with a Con::printf and it is definitely getting initialized. I have the right executable and the engine knows about the object. Why can't the scripts get at it?
#2
08/14/2008 (6:19 am)
I added a ConsoleInit function to my object with a Con::printf and it is definitely getting initialized. I have the right executable and the engine knows about the object. Why can't the scripts get at it?
#3
08/14/2008 (6:48 am)
I built a release configuration and it works fine from windows. I don't what is up with my Debug configuration, but as long as I have an engine I can use I'm not going to worry about it.
#4
08/14/2008 (1:42 pm)
Try doing a full rebuild.
#5
08/14/2008 (1:48 pm)
I tried that. No luck. I'm still curious about the difference. I don't have any DEBUG flags set or anything. I'm still stumped.