Re: Program with parameters in VC7
- From: Victor Bazarov <v.Abazarov@xxxxxxxxxxxx>
- Date: Mon, 20 Jun 2005 17:07:06 -0400
socket_newbee wrote:
I would like to call a C/C++ program from oracle. This program will be compiled in VC7.
Oracle forms will pass a string to the C program which will return the result back to Oracle . The result is also a string.
Syntactically it may not be correct, but this is what I need to do .
Main( string arr, int val)
{ ------
return res_arr;
}
How can I write this program ?..any example ?...
What book on C++ (or VC++) are you reading that doesn't show how to use command-line examples passed to the program?
_Programs_ are not defined as returning *strings*. They return integer values, known as "return codes". If you need a string returned, perhaps you need something closer to a dynamic library (or a plugin of some kind) and it should be Oracle-specific...
V .
- Follow-Ups:
- Re: Program with parameters in VC7
- From: socket_newbee
- Re: Program with parameters in VC7
- References:
- Program with parameters in VC7
- From: socket_newbee
- Program with parameters in VC7
- Prev by Date: Program with parameters in VC7
- Next by Date: Error setting lib dependencies for a library project
- Previous by thread: Program with parameters in VC7
- Next by thread: Re: Program with parameters in VC7
- Index(es):
Relevant Pages
|