We are planning to use jni in our project to invoke .dll for development and .so for prod.
Could you please let me know which jni frameworks are good in this with respect to ease of development and performance.
Thanks and Regards
Srinivasan
I can suggest this one.
It's a bit difficult to understand how to use it, but it's good.
JNA is good in this. Also, you should use JNAerator to generate the poxy Javatypes.
Related
devkitpro has been pretty great for development so far. However, I was wondering if there were any other libraries, either independent or based on devkitpro, that would incorporate other languages for me to explore
Thanks in advance!
wii.py: Python extension for Wii. Unfortunately lacking sufficient documentation (like most open-source community projects), but still functional nonetheless.
Reference: https://github.com/icefire/Wii.py
luafwii: Lua player for Wii. Since it's Lua, this is best suited for projects that involve a C base but incorporate plugins or scripts on top. Although Lua includes a built-in garbage collector, this library also includes explicit freeing for images and sounds.
Reference: http://luafwii.googlecode.com/svn/trunk/
Enjoy and good luck!
I was using wsdlpull library for wsdl parser. But it seems for some cases it doesn,t work correctly.
I am wordering is there any other library with an example of it.
thanks...
GSOAP is free if you are using it for non-commercial projects. Might be worth checking out. I found it a little finicky but it worked.
You can try simplesoap. It is ... simpler than gsoap ^^
my2c
Implent SOAP-based protocols in C++ is real hell, i've experience with it (i use gsoap).
I recommended see to other tools, more applicable for SOAP, such as Java if you can change tool, of course.
Now I have project about sign language recognition , so to accomplish this project I need to program image processing,detection,tracking,recognition phases....etc
I would like to know what is the best to use:
VC++ with OpenCv
or
VC# with aforge.net ?
Thanks in Advance :)
The short answer is, that is something only you know. Things to consider:
Operational: what do you know? do you know c++ and c# equally well? what do you feel most comfortable in? Are you primarily based on windows? Will your application to run mainly on windows?
Engineering: does it have to work in real time? how important is it that it works in real time? how many man hours do you have for this project?
Scientific: what methods do you plan to use? are you sure these methods will work or is there some trial and error required?
As you can see, there is no "best" in this type of things everything is a tradeoff, a balance between many competing needs.
I want to develop a new powerful GUI for an existing C++ application. I planned to do it as a standalone project in C++/QT, and it would communicate client-server with the existing application.
Recently I've been told that there is another possibility, to create such GUI using Eclipse. I mean that Eclipse can serve not only as an IDE, but also as some kind of framework for new applications.
Is it so?
Is it a good idea to use Eclipse in this way? What to consider?
Can such development be C++ based, or only Java based?
Yes, absolutely, the Eclipse "Rich Client Platform" is an application framework comparable to Qt, in some ways, and superior in other ways. RCP's frameworks are generally more sophisticated and more powerful than anything in Qt. Yes, I realize I'm inviting flames, because people do have religious wars over this. I don't care, I'm entitled to my opinion.
You could include C++ code in your application using the JNI API, but in general, the bulk of the development would be in Java. Ultimately, the deciding factor may just be the resources and skills you have available -- does your team know Java, or not.
As others have said, Eclipse is a platform, not just an IDE, but development using it is definitely in Java. Here's some reference material in case you decide to pursue this approach:
http://wiki.eclipse.org/index.php/Rich_Client_Platform
http://www.vogella.de/articles/EclipseRCP/article.html
Eclipse is built with its own GUI framework - SWT. It is Java-based but apparently there is a way to use it from native C++.
Eclipse is indeed a platform, with the cross-platform UI toolkit SWT and the OSGi plug-in system at its heart. Look at Android: a lot of the operating system is coded in C++, with hooks for normal UI development with Java. This is kind of what you need to do. Be aware that JNI is a pain and is certainly not easy to use, but I'd advise Java for everything except for code that needs to be accelerated, which you would do in C++. Java is fast enough for most tasks.
You can certainly do that. You might also consider Netbeans or Qt's own IDE as well.
For example, i downloaded Gecko 1.9.1 SDK.
It contains js3250.dll.
How i can be sure that this dll is thread-safe?
Advance Thanks
-Parimal Das
You'll have to read the documentation of the particular library.
If there was such a tool then we would all be using it on our threaded code. Such a tool is impossible to write. You can flag questionable features, so you can say that a particular piece of code is not thread safe, but cannot guarantee that it is. Working at the object code level in a dll would make the problem even more difficult.