🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11924

Re: calling dos program

#11924
From: Ed Mulroy [TeamB]
Date: Sun, 11 Jan 2004 19:01
14 lines
1430 bytes
> >     std::memset(&pi, 0, sizeof(pi)); // not needed
> >     std::memset(&si, 0, sizeof(si)); // not needed
> I find that this is needed.  It is in the example for
> CreateProcess at MSDN.

As you wish.

Other than the process info size element (cb), both of those structures are
output from CreateProcess, not input.

.  Ed

> Fraser Ross wrote in message
> news:400164b5@newsgroups.borland.com...
Technical Details
Message-ID: <40019dad@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400038d3@newsgroups.borland.com> <40005bcc$1@newsgroups.borland.com> <400164b5@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cd433fcf47e8f03b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-11 11:09:49 PST
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <400038d3@newsgroups.borland.com> <40005bcc$1@newsgroups.borland.com> <400164b5@newsgroups.borland.com>
Subject: Re: calling dos program
Date: Sun, 11 Jan 2004 14:01:58 -0500
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <40019dad@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073847725 24.74.175.102 (11 Jan 2004 11:02:05 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail