Thread View: borland.public.jbuilder.linux
3 messages
3 total messages
Started by Dave Gardner
Wed, 29 Dec 2004 17:11
Using C++ code in Jbuilder
Author: Dave Gardner
Date: Wed, 29 Dec 2004 17:11
Date: Wed, 29 Dec 2004 17:11
6 lines
1063 bytes
1063 bytes
I have libraries that are only in C. I created a sample shared object but I can't make any progress bring the functions into the java. I need some clues to get started Dave Gardner AMI Semiconductor
Re: Using C++ code in Jbuilder
Author: Lori M Olson [TeamB]
Date: Wed, 29 Dec 2004 17:56
Date: Wed, 29 Dec 2004 17:56
37 lines
2229 bytes
2229 bytes
Dave Gardner wrote:
> I have libraries that are only in C. I created a sample shared object but I
> can't make any progress bring the functions into the java.
> I need some clues to get started
>
> Dave Gardner
> AMI Semiconductor
>
>
You need to use JNI. Really you should get a good book on the subject
and read. This book is dated, but is still the one most recommended:
http://www.amazon.com/exec/obidos/tg/detail/-/0201325772/qid=1104342138/sr=8-1/ref=pd_ka_1/104-6825770-6471121?v=glance&s=books&n=507846
If you go to http://java.sun.com and search for JNI, there are a number
of online references/tutorials as well.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Using C++ code in Jbuilder
Author: Lori M Olson [TeamB]
Date: Wed, 29 Dec 2004 18:04
Date: Wed, 29 Dec 2004 18:04
23 lines
1788 bytes
1788 bytes
Oh, and it might be handy to use C++BuilderX too. I used it for some
JNI work. It is based on the same underlying IDE as JBuilder.
http://www.borland.com/products/downloads/download_cbuilderx.html
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads