How to get the result of Jar file into the Visual C++ application
-
I want to built a DLL in which we can pass parameters to call a jar file and the return values of the Jar file should be available to the calling application. Do anyone know How to perform this ? Thanks in advance. Nikhs Nikhil Trivedi
-
I want to built a DLL in which we can pass parameters to call a jar file and the return values of the Jar file should be available to the calling application. Do anyone know How to perform this ? Thanks in advance. Nikhs Nikhil Trivedi
Nikhil Trivedi wrote:
...pass parameters to call a jar file...
What do you mean by "call a jar file?"
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
Nikhil Trivedi wrote:
...pass parameters to call a jar file...
What do you mean by "call a jar file?"
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
DavidCrow wrote:
What do you mean by "call a jar file?
I meant to say that I want to unpack(Execute) a jar file from visual C++ app. and then get the result in the visual c++ for furthur processing. Suppose I am using jar file to generate an auth. number by passing a variable to the jar file, and want the auth number back in the visual c++ app. so that I can process it according to my requirement. Thanks for your answer. Nikhs Nikhil Trivedi
-
DavidCrow wrote:
What do you mean by "call a jar file?
I meant to say that I want to unpack(Execute) a jar file from visual C++ app. and then get the result in the visual c++ for furthur processing. Suppose I am using jar file to generate an auth. number by passing a variable to the jar file, and want the auth number back in the visual c++ app. so that I can process it according to my requirement. Thanks for your answer. Nikhs Nikhil Trivedi
Nikhil Trivedi wrote:
I meant to say that I want to unpack(Execute) a jar file from visual C++ app. and then get the result in the visual c++ for furthur processing.
Use
CreateProcess()
for this.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne