Skip to main content
gamedev.net
🔒 Locked

What WinApi function to...

Started by cearny 5 replies 700+ views
Original Post
cearny
cearny
...start a console application fullscreen, and with the "close on exit tag"? I use Delphi. TIA, Adrian "Cearny" Cearnau
tcs
tcs
ShellExecute... or maybe CreateProcess


Tim

--------------------------
glvelocity.gamedev.net
www.gamedev.net/hosted/glvelocity
Tim--------------------------glvelocity.gamedev.netwww.gamedev.net/hosted/glvelocity
FordPrefect
FordPrefect
There isn''t a way to do this, or at least, there''s no easy way. But even if there is, don''t do it. Let the user decide if the application should be fullscreen or not.
baskuenen
baskuenen
Maybe SetConsoleWindowInfo() in combination with GetLargestConsoleWindowSize() ?
I haven''t tried em yet, so I might be totally wrong...


Maybe there is a way to start .PIF files?

cearny
cearny
Well, that''s exactly what I was wondering. I don''t know of any way of creating .PIF files and then startig them, so some help on this side would be most appreciated.

The program I''m working on is a Windowze interface for an old FOX-PRO 2.6 for DOS program witch, I bet you know, runs full-screen all of the time, in order to be usable in any way. That''s why I wanted to know how one can make an Win16 app run full-screen and close on exit.

Please answer me, as I really need help on this one.

TIA,
Adrian "Cearny" Cearnau
JonStelly
JonStelly
You can run PIF files with a simple ShellExecute... if you want to create PIF files, look into the Windows Installer API.. That''s where it''s gonna be.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.