Two Laptop Bag*
The moose likes C / C++ and the fly likes .cpp to .dll Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » C / C++
Bookmark ".cpp to .dll " Watch ".cpp to .dll " New topic

.cpp to .dll

ritz Mohamed

Joined: May 20, 2011
Posts: 10
hello all,
i just want to convert from cpp to dll for my jni projcet...i searched in internet.but i don have a compiler like having Vc++ that also cant able to convert cpp file to dll file.its saying fatal error:
it cant identify my .h files.
please help me to convert from cpp to dll.
do we have any online or easy step to convertion.

thanks in advance
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074

If the compiler cannot find your *.h files, then you must add the directory that contains the *.h files to the include path. How you do that depends exactly on the compiler (and IDE) that you're using. Look in the help of Visual C++, search for "include path" there.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
I agree. Here's the link:
subject: .cpp to .dll
Similar Threads
How to create a JVM in native code and call a Java Method from a Java Class?
how to use c/cpp code in java??
jar to native dll
JNI - dll method invocation not working despite correct signature
Embedded VM in a cpp code and crash information