From: czgrr <czgrr@my-deja.com>
Subject: Re: DOS Command in OA
Date: 1999/08/06
Date: 1999-08-06T00:00:00+00:00 [thread overview]
Message-ID: <7oe18q$lmd$1@nnrp1.deja.com> (raw)
In-Reply-To: KcVp3.404$9f1.41774@typ12.nn.bcandid.com
In article <KcVp3.404$9f1.41774@typ12.nn.bcandid.com>,
"David C. Hoos, Sr." <david.c.hoos.sr@ada95.com> wrote:
> [We are using WIN95 and Aonix Object Ada 7.1.]
> ------------------
> with Interfaces.C;
> function Execute_Shell_Command (The_Command_String : String)
> return Interfaces.C.Int is
> package C renames Interfaces.C;
> function System (S : C.Char_Array) return C.Int;
> pragma Import (C, System, "system");
> begin
> return System (C.To_C (The_Command_String));
> end Execute_Shell_Command;
And what linker option or path do I need to add in order to get this to
build without a "LNK2001: unresolved external symbol _system" error?
Cheers,
czgrr
--
Email address blocked - reply to the newsgroup.
Assume Ada83 and (V)C++ unless said otherwise.
My opinions are independent from my employer's.
Use any suggestions at your own risk.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
prev parent reply other threads:[~1999-08-06 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-04 0:00 DOS Command in OA KdoMFueSys Wilhelmshaven
1999-08-04 0:00 ` Ted Dennison
1999-08-04 0:00 ` David C. Hoos, Sr.
1999-08-05 0:00 ` Ted Dennison
1999-08-05 0:00 ` David C. Hoos, Sr.
1999-08-06 0:00 ` KdoMFueSys Wilhelmshaven
1999-08-04 0:00 ` Gautier
1999-08-04 0:00 ` Ed Falis
1999-08-04 0:00 ` David C. Hoos, Sr.
1999-08-04 0:00 ` David C. Hoos, Sr.
1999-08-06 0:00 ` czgrr [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox