mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-21 22:53:51 +02:00
{$APPTYPE CONSOLE} support added
This commit is contained in:
@@ -3,9 +3,6 @@ program DrawImageApp;
|
||||
uses
|
||||
KolibriOS;
|
||||
|
||||
const
|
||||
AppPath = PPKolibriChar(32);
|
||||
|
||||
type
|
||||
THeader = packed record
|
||||
IDLength: Byte;
|
||||
@@ -59,8 +56,8 @@ var
|
||||
begin
|
||||
HeapInit;
|
||||
|
||||
ExtractFileDirectory(AppPath^, AppPath^);
|
||||
SetCurrentDirectory(AppPath^);
|
||||
ExtractFileDirectory(AppPath, AppPath);
|
||||
SetCurrentDirectory(AppPath);
|
||||
|
||||
TargaFile := LoadFile('Lena.tga', FileSize);
|
||||
|
||||
|
Reference in New Issue
Block a user