🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.pascal
5 messages
5 total messages Started by Piotr Thu, 18 Oct 2007 11:25
Jak coś otworzyć
#92171
Author: Piotr
Date: Thu, 18 Oct 2007 11:25
4 lines
959 bytes
Jak za pomocą turbo pascala móżna otwierać inne programy??

-- 
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Re: Jak coś otworzyć
#92172
Author: Solaris
Date: Thu, 18 Oct 2007 12:14
12 lines
1210 bytes
Dnia 18 Oct 2007 13:25:42 +0200, jakże pięknego
"Piotr" <piotrharyzaWYTNIJTO@o2.pl> wystukał co zawarte poniżej:

:: Jak za pomocą turbo pascala móżna otwierać inne programy??

exec() oraz dyrektywa {$M x y z}

-- 
Home: admin.idns.pl
Linux registered user: 408584
Contact: GG#44450, solaris#idns.pl
19:16:28 -!- Platyna Erroneous Nickname 
Re: Jak coś otworzyć
#92173
Author: Łukasz 'Maly' Ostrowski
Date: Thu, 18 Oct 2007 13:08
10 lines
1139 bytes
Solaris wrote:
> exec() oraz dyrektywa {$M x y z}


A w windzie CreateProcess() i ShellExecute().

-- 
Pozdrawiam,
Łukasz 'Maly' Ostrowski.
http://maly.nemo.pl/ 
Re: Jak coś otworzyć
#92174
Author: Łukasz 'Maly' Ostrowski
Date: Thu, 18 Oct 2007 13:08
12 lines
1261 bytes
Łukasz 'Maly' Ostrowski wrote:
> Solaris wrote:
>> exec() oraz dyrektywa {$M x y z}
> A w windzie CreateProcess() i ShellExecute().


Ale to już oczywiście nie w Turbo Pascalu. ;).

-- 
Pozdrawiam,
Łukasz 'Maly' Ostrowski.
http://maly.nemo.pl/ 
Re: Jak coś otworzyć
#92175
Author: Wiktor S.
Date: Thu, 18 Oct 2007 15:18
18 lines
1301 bytes
>> A w windzie CreateProcess() i ShellExecute().

> Ale to już oczywiście nie w Turbo Pascalu. ;).

Jak to nie. Nigdzie nie było mowy, że ten Turbo Pascal ma być pod DOS-a.


uses shellapi;

begin
  ShellExecute(0, 'open', 'c:\Windows\notepad.exe', nil, nil,0);
end.




-- 
Azarien
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads