Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » C++ DLL not working on Eclipse JDT.(DLL created with Eclipse CDT using Cygwin g++ compiler does not work when it is called on Eclipse JDT.)
C++ DLL not working on Eclipse JDT. [message #675125] Mon, 30 May 2011 11:17 Go to next message
Angry Coder is currently offline Angry CoderFriend
Messages: 3
Registered: March 2011
Junior Member
I have created a simple DLL using Eclipse CDT. I m using JNI to call native library code from a Java Project. But, the Java Project is not able to load the library.
It gets stuck at System.loadLibrary("dll_name").

The problem is when i create the DLL using Microsoft Visual Studio, the Java Project is able to load it and use the services provided by the native library.

Hence, i am thinking that there is a problem with Eclipse CDT building a DLL. Has anyone experienced before this kind of wierd behaviour in Eclipse ?
Re: C++ DLL not working on Eclipse JDT. [message #675188 is a reply to message #675125] Mon, 30 May 2011 14:18 Go to previous message
Deepak Azad is currently offline Deepak AzadFriend
Messages: 545
Registered: July 2009
Senior Member
This question should be asked in the CDT forum.
Previous Topic:No projects found to import
Next Topic:Shared ASTs for CompilationParticipants
Goto Forum:
  


Current Time: Tue Nov 25 21:17:29 GMT 2014

Powered by FUDForum. Page generated in 0.09826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software