🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fido7.watcom-general
1 messages
1 total messages Started by Artem Koutchine Sun, 11 Feb 1996 00:50
HELP ME ASAP!! (passing an augument to DOS4GW program)
#1
Author: Artem Koutchine
Date: Sun, 11 Feb 1996 00:50
22 lines
1019 bytes
Hello !!!

	I need help with Watcom C/C++ 10.5.
I am writing a program that have to get some arguments from a
command line. It is DOS4GW  extender program and i usuallly
i declare main as

int main (int argc, char* argv[])

But somehow when i compile it as DOS4GW program the only
argument it get is argv[0]  even if i start the program with 4 params
it still does not get them, but  argc contains the right number of
arguments.

BUt somehow, when i compile it as normal DOS16 proggie it work
perfectly.

What is the problem ? PLEASE HELP !

Thank you 

Artem
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads