1 posts in topic
Flat View  Flat View

Posted By:   Mrinmoy_Aich
Posted On:   Friday, May 11, 2001 03:31 AM

How can I create the .dll file from .cpp file in JNI programming?


Posted By:   Alexander_Krapf  
Posted On:   Friday, May 11, 2001 11:54 AM

Hi Mrinmoy,

as you are refering to it as ".dll", I assume that you are on Windows and that you're using MSVC++.

You need to create a DLL project and add your .cpp file to it. You need to at least configure the project to use the JNI include directories. These are at include and includewin32.
Add any libraries you need.
Build it.

Or you could use our JunC++ion tool, which generates MSVC++ project files at the same time it generates C++ proxy classes and native method implementations. You can find out more about JunC++ion at http://www.codemesh.com.

Good luck,


About | Sitemap | Contact