Main window??
by Eric D. Taylor · in Torque Game Engine · 01/08/2002 (11:41 am) · 8 replies
Hello everyone!!
I've been lurking around these forums since march of last year, and I have to say everyones been really helpful. My question should be an easy one so here goes...
How do get my version of the test app to open up in one window? I've been going through learning how to add and subtract items and modify the scripts, but i can't figure this one out. I'm obviously not a programmer. I am using VC++ 6 standard edition to open up the project files.
I always seem to get two instances(if that's the right term) one that opens the torque demo app little window and one that the test app actually runs in.
Any help would be greatly appreciated.
Thanks
Eric
I've been lurking around these forums since march of last year, and I have to say everyones been really helpful. My question should be an easy one so here goes...
How do get my version of the test app to open up in one window? I've been going through learning how to add and subtract items and modify the scripts, but i can't figure this one out. I'm obviously not a programmer. I am using VC++ 6 standard edition to open up the project files.
I always seem to get two instances(if that's the right term) one that opens the torque demo app little window and one that the test app actually runs in.
Any help would be greatly appreciated.
Thanks
Eric
About the author
#2
Phil.
01/08/2002 (12:12 pm)
The program is compiled as a console app, it simply needs to be changed to compile as a win32 app. Its a setting from build->settings I think.. there's a thread about it.Phil.
#3
Thanks all,
Eric
01/08/2002 (12:36 pm)
Thanks for all the quick replies. That helped me with the task of getting rid of that little extra window.Thanks all,
Eric
#4
01/08/2002 (8:47 pm)
i looked through the forum but could not find the article...how did you go about getting rid of that window?
#5
2. In the Project Settings dialog box click on the Link tab.
3. Make sure you are looking at either Win32 Release or Win32 Debug version and not the All configurations option.
4. In Project Options at the bottom of the dialog box scroll down until you see the following settings...
/nologo /subsystem:console /incremental:yes
(it is usually immediately after the last .lib file.)
Change /subsystem:console to /subsystem:window
Click on OK.
That should do it.
01/09/2002 (6:02 am)
1. In Visual C++ go to Project -> Settings.2. In the Project Settings dialog box click on the Link tab.
3. Make sure you are looking at either Win32 Release or Win32 Debug version and not the All configurations option.
4. In Project Options at the bottom of the dialog box scroll down until you see the following settings...
/nologo /subsystem:console /incremental:yes
(it is usually immediately after the last .lib file.)
Change /subsystem:console to /subsystem:window
Click on OK.
That should do it.
#6
01/09/2002 (11:36 am)
thank you very much...got it!
#7
01/09/2002 (12:53 pm)
You're welcome. I like it when I get one right :)
#8
BTW just so people don't get confused, it's "/subsystem:windows" (with an "s" on the end).
01/09/2002 (1:29 pm)
Thanks for the useful tip.BTW just so people don't get confused, it's "/subsystem:windows" (with an "s" on the end).
Torque Owner Bill Henderson
Search around the forums some more youll find it