mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-22 07:03:53 +02:00
{$APPTYPE CONSOLE} support added
This commit is contained in:
@@ -237,6 +237,9 @@ initialization
|
||||
Pointer(@con_write_asciiz) := GetProcAddress(hConsole, 'con_write_asciiz');
|
||||
Pointer(@con_write_string) := GetProcAddress(hConsole, 'con_write_string');
|
||||
|
||||
if IsConsole then
|
||||
InitConsole(AppPath);
|
||||
|
||||
finalization
|
||||
if Assigned(con_exit) then
|
||||
con_exit(CloseWindow);
|
||||
|
Reference in New Issue
Block a user