🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.asm
Article #339

Major Problem Opening Dos Programs!!

#339
From: Clinton
Date: Sun, 21 Nov 1999 00:00
16 lines
1597 bytes
Hello,
I have written some code in Borland Builder C++ that has several buttons
that when pressed opens that correct Dos program. I used CreateProcess() to
open the Dos program but have found out " took me 3 Weeks " that this
doesn't work 100%. My C++ program opens the Dos program fine and looks like
it's working, but for some reason the com ports don't work with the Dos
program. I now have found out that Windows API has problems with spawning
Dos programs. I don't fully understand this but it does something with
Handles that isn't correct. So I'm hoping that I can use some type of ASM
code that won't give me all the headaches to date. What I would like help on
is some code that will open a Dos program from my C++ button and not have
Windows affect the Dos program so the Com ports could work as is.

Thank for any suggestion or help on this.

Clinton
Technical Details
Message-ID: <lMUZ3.237$m6.10661@news1.mts.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7d8d,b6e31462fecf17b,start
X-Google-Attributes: gidf7d8d,public
X-Google-Thread: feaef,b6e31462fecf17b,start
X-Google-Attributes: gidfeaef,public
From: "Clinton" <c.langan@aibn.com>
Subject: Major Problem Opening Dos Programs!!
Date: 1999/11/21
Message-ID: <lMUZ3.237$m6.10661@news1.mts.net>
X-Deja-AN: 551282592
X-Priority: 3
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: admin@mts.net
X-Trace: news1.mts.net 943200401 205.200.53.168 (Sun, 21 Nov 1999 10:06:41 CST)
Organization: MTS Internet
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sun, 21 Nov 1999 10:06:41 CST
Newsgroups: alt.lang.asm,borland.public.tasm