Article View: borland.public.jbuilder.java.language
Article #569Re: Calling a C routine from .dll
From: Lori M Olson [TeamB]
Date: Tue, 08 Mar 2005 05:08
Date: Tue, 08 Mar 2005 05:08
34 lines
1946 bytes
1946 bytes
Salvador Huertas wrote:
> Hi friends,
> I would like call a C routine from Java program that is into a .dll
> library. I don't know if this is possible and if so, how can I do it.
>
> Thanks in advance!
> Salvador Huertas.
>
>
You need to do some reading on JNI. Really, you should buy a good book
on the subject, but you can start here:
http://java.sun.com/docs/books/jni/
--
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
Technical Details
Message-ID:
<422d3361$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<422cd8a1$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,22de04f077d3309f,start X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 07 Mar 2005 22:08:21 -0700 From: "Lori M Olson [TeamB]" <javadragon@techie.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Calling a C routine from .dll References: <422cd8a1$1@newsgroups.borland.com> In-Reply-To: <422cd8a1$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <422d3361$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1110258529 142.179.181.200 (7 Mar 2005 21:08:49 -0800) Lines: 34 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail