PDOX4.02 and RUN external DOS program crash 
Author Message
 PDOX4.02 and RUN external DOS program crash

I'm using Paradox 4.02 DOS for an existing database that we converted
over from 3.5.  Running on Windows NT4.0.
A line of PAL code is giving me problems - any time I use the RUN
command to run an external DOS batch file (which in turn calls PKZIP or
PKUNZIP in this case) it will not return to Paradox after running the
batch file.
Here's the format for the command I'm using:

run "tvlogrst.bat "+input1
reset ;notify Paradox of table changes

where the input1 variable contains path information.

The batch file that is called is:

copy %1tvlogbak.zip
pkunzip -e -o tvlogbak.zip
pause

Anyway, the batch file runs as expected, but when it's done, Paradox
doesn't resume, but just terminates.  You are left with a command
prompt.

I've tried using RUN BIG also, to no avail.  I've also tried using the
command-line parameter -emk 1024 when running Paradox, thinking it
might be a memory issue, but that doesn't work either.

Under Paradox 3.5 this all worked as expected.

Roy Teale

Sent via Deja.com http://www.***.com/
Before you buy.



Mon, 19 Aug 2002 03:00:00 GMT
 PDOX4.02 and RUN external DOS program crash

As you have discovered, the DOS in Windoze NT is not really DOS !
It is not just you or your programs, unfortunately, shelling to dos from
Paradox on NT just plain doesn't work.....

You have to either exit out of pdox, do your dos stuff and roll back in to
paradox - or-
Use seperate batch files / shortcuts to do whatever you have to do outside
of Paradox.

Dave



Tue, 20 Aug 2002 03:00:00 GMT
 PDOX4.02 and RUN external DOS program crash
Something I wonder, here. Have you tried (just an idea, I no longer have PXD
on my machines)....

Start / Run: command (instead of cmd)
SET COMSPEC=c:\winnt\system32\command.com  (possibly with a /P argument)
run paradox
try using RunDos or RunBigDos

What happens ?



Quote:
> As you have discovered, the DOS in Windoze NT is not really DOS !
> It is not just you or your programs, unfortunately, shelling to dos from
> Paradox on NT just plain doesn't work.....

> You have to either exit out of pdox, do your dos stuff and roll back in to
> paradox - or-
> Use seperate batch files / shortcuts to do whatever you have to do outside
> of Paradox.

> Dave



Tue, 20 Aug 2002 03:00:00 GMT
 PDOX4.02 and RUN external DOS program crash

Quote:

> I'm using Paradox 4.02 DOS for an existing database that we converted
> over from 3.5.  Running on Windows NT4.0.
> A line of PAL code is giving me problems - any time I use the RUN
> command to run an external DOS batch file (which in turn calls PKZIP or
> PKUNZIP in this case) it will not return to Paradox after running the
> batch file.

as Dave Porter told you, that's what happens when you try to run DOS apps
on NT machines.. it'll work on a 95 or 98 machine, but not NT.. there are
even internal PdoxDOS things that won't work properly, such as items on the
Import/Export menu..

Quote:
> I've tried using RUN BIG also, to no avail.  I've also tried using the
> command-line parameter -emk 1024 when running Paradox, thinking it
> might be a memory issue, but that doesn't work either.

in this case, *you* are creating a "memory issue" no matter what platform
you use.. that switch tells pdoxdos it can only have one meg of memory.. 4
is the minimum,  8 to 12 the recommended "sweet spot", and 16 the max..

Quote:
> Under Paradox 3.5 this all worked as expected.

other than the fact that you can't use 3.5 under *any* version of windows
without putting your tables at great risk..

--
Steve Green
Corel CTech - Paradox
Diamond Software Group, Inc.
Waldorf, Maryland  USA

http://www.diamondsg.com



Tue, 20 Aug 2002 03:00:00 GMT
 PDOX4.02 and RUN external DOS program crash

Quote:

> Start / Run: command (instead of cmd)
> SET COMSPEC=c:\winnt\system32\command.com  (possibly with a /P argument)
> run paradox
> try using RunDos or RunBigDos

> What happens ?

no difference.. it's not the comprec that you start pdox with, it's the comspec
that occurs when you shell out from there.. *that* isn't DOS..

--
Steve Green
Corel CTech - Paradox
Diamond Software Group, Inc.
Waldorf, Maryland  USA

http://www.diamondsg.com



Tue, 20 Aug 2002 03:00:00 GMT
 PDOX4.02 and RUN external DOS program crash
Funny. Given the differences between command and cmd on NT, I would have
thought forcing the use of command would have made a difference... but
unlike you, I never tried.



Quote:

> > Start / Run: command (instead of cmd)
> > SET COMSPEC=c:\winnt\system32\command.com  (possibly with a /P argument)
> > run paradox
> > try using RunDos or RunBigDos

> > What happens ?

> no difference.. it's not the comprec that you start pdox with, it's the
comspec
> that occurs when you shell out from there.. *that* isn't DOS..

> --
> Steve Green
> Corel CTech - Paradox
> Diamond Software Group, Inc.
> Waldorf, Maryland  USA

> http://www.diamondsg.com




Sat, 24 Aug 2002 03:00:00 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. PDOX4.5 DOS: Run error: Low memory warning

2. PDOX4/DOS Run-Time

3. Run Error: Table not found,.. PDOX4.5(DOS)

4. pdox4.5/dos will not run now

5. Running Pdox4.5/DOS Apps. Under Runtime 4.0

6. Wanted Paradox for DOS v4.02 in UK

7. PDOX/DOS 4.,02 Scanning in secondary order - Tip + Question

8. CfP: Data Warehouse Workshop DMDW'02 at CAiSE'02 in Toronto

9. Importing QPro5.0/DOS files to PDOX4.5/DOS

10. BREQUEST crashes DOS program

11. dos program=crash


 
Powered by phpBB® Forum Software