Under win32 I can use the SHELL command to launch WGET multiple times from within my FB program to download files. This works.
Under DOS... not so much. WGET will launch (and writes its text output all over my graphic screen) but crashes frequently. I suspect the DOS version of WGET itself is also 32-bit program. Is this something that should work OK in theory? Or is launching another DPMI program pretty much guaranteed to trample my memory and cause crashes?
using SHELL to spawn another prog...
Re: using SHELL to spawn another prog...
I suspect it will clobber your memory and crash your program.
http://www.ousob.com/ng/blinker/ng94bac.php
Is libcurl available for DOS?
http://www.ousob.com/ng/blinker/ng94bac.php
Is libcurl available for DOS?
Re: using SHELL to spawn another prog...
djgpp "make" must also do this? I assume it runs fine under e.g. win9x?
Re: using SHELL to spawn another prog...
"Make" works (of course), but in the old days, there were various DPMI host bugs, hence the (long disavowed) advice of using a real-mode make. This doesn't mean that all "modern" DPMI hosts are bug-free, but they seem to work "most" of the time.marcov wrote:djgpp "make" must also do this? I assume it runs fine under e.g. win9x?
What DOS? What DPMI host? What shell? FreeDOS (2041)? CWSDPMI r7? FreeCOM (0.84-pre2 XMS_Swap)?
LFNs enabled? Other drivers (mouse, cache) loaded? Try minimizing your config setup first.
Anyways, there are a few different builds of Wget (and Curl). Which version are you using? You can try newer (unofficial) builds by Michael Kostylev here: http://mik.dyndns.pro/dos-stuff/bin/