ProgramParameter and argument passing question:
Posted: Sat Nov 08, 2003 11:07 pm
I have the following C++ declared function:
Usage
argcp
A pointer to the program's unmodified argc variable from main.
argv
The program's unmodified argv variable from main.
Now from what I gather, argcp and argv are somehow connected to the command line arguments in languages like C++. I couldnt get any more information than that. I have no idea what to pass to this function or how. Everything I try results in purebasic crashing.
Do any of you know how I would properly call this function via purebasic?
Usage
Code: Select all
void Init(int *argcp, char **argv);A pointer to the program's unmodified argc variable from main.
argv
The program's unmodified argv variable from main.
Now from what I gather, argcp and argv are somehow connected to the command line arguments in languages like C++. I couldnt get any more information than that. I have no idea what to pass to this function or how. Everything I try results in purebasic crashing.
Do any of you know how I would properly call this function via purebasic?