receiving parameters help 
Author Message
 receiving parameters help

Quote:

> Hi,

> Im new to VC++, I have created a small C .exe to set up an ODBC, driver no
> problems there but I now want to be able to pass parameters from the calling
> program to the C .exe. (database name etc..) I not sure how to set up my C
> program to receive
> parameters. Can anyone help??

> DD

The simplest would be to pass these parameters on the command line.
Inside the recipient you can get your argc/argv or __commandline
variable (perhaps misspelled.) There's also something like
GetCommandLine() function.


Tue, 06 May 2003 03:00:00 GMT  
 receiving parameters help
Hi,

Im new to VC++, I have created a small C .exe to set up an ODBC, driver no
problems there but I now want to be able to pass parameters from the calling
program to the C .exe. (database name etc..) I not sure how to set up my C
program to receive
parameters. Can anyone help??

DD



Wed, 07 May 2003 04:00:19 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Using void * to receive data via function parameter

2. Function can't change the parameter it receives

3. Receive error on compiling single link list codes--pls help

4. Message receiving.Please help

5. Message receiving. Please help

6. Help - receiving invalid page fault in kernel32.dll

7. HELP: Functions to send/receive mail.

8. Help: ActiveX: MSCOMM how to receive 0x00?

9. HELP ... CSocket.Receive() hangs

10. HELP: Receive Datagram via CSocket

11. Help - Don't receive OLE DragEnter messages...

12. CAsyncSocket's Receive( ) hangs Win 95 Help!

 

 
Powered by phpBB® Forum Software