You will need to use JNI if you want these kind of things. This way you can reuse your C code provided you write a JNI wrapper around it.
There is a product codemesh which helps you do this but it is paid software if you want to explore this. Regards, Kiran From: [email protected] [mailto:[email protected]] On Behalf Of Snit Roy Sent: Wednesday, April 15, 2009 6:53 PM To: [email protected] Subject: Re: [c-prog] how to incorporate java classes in msvc++2008sp1 suppose i want to use the java.util.TreeMap class of java in C++ what should i do in MSVC++2008sp1??? ________________________________ From: Thomas Hruska <[email protected]<mailto:thruska%40cubiclesoft.com>> To: [email protected]<mailto:c-prog%40yahoogroups..com> Sent: Wednesday, April 15, 2009 6:24:05 PM Subject: Re: [c-prog] how to incorporate java classes in msvc++2008sp1 Snit Roy wrote: > how to incorporate java classes in msvc++2008sp1? ??can you show me the way??? Depends on what you mean by "incorporate" . Rewriting them is always a good exercise. Rewriting code usually allows you to "do that thing you wanted to do in the first place but never got around to doing". -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/ [Non-text portions of this message have been removed] **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** [Non-text portions of this message have been removed]
