Article View: borland.public.cppbuilder.nativeapi
Article #11921Re: calling dos program
From: Fraser Ross
Date: Sun, 11 Jan 2004 14:58
Date: Sun, 11 Jan 2004 14:58
11 lines
1474 bytes
1474 bytes
I still have not got the program working. The csw program is at ftp://ftp.worldofspectrum.org/pub/sinclair/tools/pc/csw200.zip . A WAV file is needed to test the program. A small one will do. CSW.EXE records a quantity value at positions 1D to 20 little endian in the output file before it finishes. This is the thing it often is not doing. > 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. Fraser.
Technical Details
Message-ID:
<400164b5@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<400038d3@newsgroups.borland.com> <40005bcc$1@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 07:03:15 PST From: "Fraser Ross" <fraserATmembers.v21.co.unitedkingdom> Newsgroups: borland.public.cppbuilder.nativeapi References: <400038d3@newsgroups.borland.com> <40005bcc$1@newsgroups.borland.com> Subject: Re: calling dos program Date: Sun, 11 Jan 2004 14:58:58 -0000 Lines: 13 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.1165 NNTP-Posting-Host: 213.121.68.23 Message-ID: <400164b5@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1073833141 213.121.68.23 (11 Jan 2004 06:59:01 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail