babjava
May 13th, 2008, 07:27 AM
Hi
i have jar file and exe.Now i want to attached.Exe is vc++.Can i attached and run.
plz help me
i have jar file and exe.Now i want to attached.Exe is vc++.Can i attached and run.
plz help me
| // JP opened flex table
Click to See Complete Forum and Search --> : Java + VC++ babjava May 13th, 2008, 07:27 AM Hi i have jar file and exe.Now i want to attached.Exe is vc++.Can i attached and run. plz help me dlorde May 13th, 2008, 11:34 AM Your question isn't clear. You'll have to explain more clearly what you want to do with your jar file and your exe. Precise language is not the problem. Clear language is the problem... R. Feynman babjava May 14th, 2008, 12:16 AM Hi i have a java jar and a vc++ exe.Now i want to combiend together and run as a singel exe or jar file.it is possibel. _uj May 14th, 2008, 07:53 AM Hi i have a java jar and a vc++ exe.Now i want to combiend together and run as a singel exe or jar file.it is possibel. What kind of combination do you expect that to be? Do you want to start two programs with one command? Couldn't you use a batch file for that? dlorde May 14th, 2008, 07:58 AM I don't know, you haven't provided any useful information. What makes you think that the jar file and the exe file could work together? If that is all the information you're prepared to supply, I'd say no, it isn't possible. However, it is possible to allow a Java program to access C++ code, and for C++ code to access Java, by using the JNI (Java Native Interface (http://java.sun.com/j2se/1.3/docs/guide/jni/)), but this requires that the Java code is written to use the C++ functions, or the C++ code is written to use the Java methods. The JNI provides an adapter between them. All truths are easy to understand once they are discovered; the point is to discover them... G. Galilie babjava May 15th, 2008, 01:53 AM Thxs for tips can you give me small example of java code to convert Vc++. codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved. |