Here's a (portuguese - Brasil) page showing how you
can call a delphi dll inside java.

http://www.javafree.org/content/view.jf?idContent=40

It uses JNI, and while the text is in portuguese, I
think you can figure it out by the code.
(Or use a translator)

--- "Roger C. Morgan II" <[EMAIL PROTECTED]>
escreveu:

> JINI is the Java interface for calling any OS native
> code, whether its
> the OS API or other code (such as DLLs in windows).
> I've never used
> the interface, nearly all my Java code had to run on
> at least 3 platforms.
> 
> I would suggest starting at java.sun.com or another
> java reference of
> your choice. As far as I know, if it is a standard
> Windows DLL that C
> could call, it shouldn't matter that it's Delphi.
> 
> Hope this helps & good luck,
> 
> Roger C. Morgan II
> [EMAIL PROTECTED]
> 
> --- In [email protected], "Lennie De
> Villiers" <[EMAIL PROTECTED]>
> wrote:
> > I found a Jawin package on Sourceforge.net that
> allow Java to call DLL
> > functions, but this package isn't working.
> > 
> > Anyone know of anything else that I can use?
> > 
> >  
> > 
> > Kind Regards,
> > 
> >  
> > 
> > Lennie De Villiers
> > 
> >  
> > 
> >    _____  
> > 
> > From: [email protected]
> [mailto:[EMAIL PROTECTED]
> On Behalf
> > Of Lennie De Villiers
> > Sent: Wednesday, August 03, 05 6:06 PM
> > To: [email protected]
> > Subject: [delphi-en] How to use .dll compiled in
> Delphi in Java?
> > 
> >  
> > 
> > Hi,
> > 
> > 
> > 
> > Anyone can help me:
> > 
> > 
> > 
> > How to use .dll compiled in Delphi in Java?
> > 
> > 
> > 
> > Kind Regards,
> > 
> > 
> > 
> > Lennie De Villiers
> > 
> > 
> > 
> > 
> > -- 
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.9.8/61 -
> Release Date: 01/08/05
> > 
> > 
> > 
> > [Non-text portions of this message have been
> removed]
> > 
> > 
> > 
> >
>
-----------------------------------------------------
> > Home page: HYPERLINK
> >
>
"http://groups.yahoo.com/group/delphi-en/"http://groups.yahoo.com/group/delp
> > hi-en/
> > To unsubscribe:
> [EMAIL PROTECTED] 
> > 
> > 
> > 
> > 
> >    _____  
> > 
> > YAHOO! GROUPS LINKS 
> > 
> >  
> > 
> > *    Visit your group "HYPERLINK
> >
> "http://groups.yahoo.com/group/delphi-en"delphi-en";
> on the web.
> >   
> > *    To unsubscribe from this group, send an email
> to:
> >  HYPERLINK
> >
>
"mailto:[EMAIL PROTECTED]"delphi-en-
> > [EMAIL PROTECTED]
> >   
> > *    Your use of Yahoo! Groups is subject to the
> HYPERLINK
> > "http://docs.yahoo.com/info/terms/"Yahoo! Terms of
> Service. 
> > 
> >  
> > 
> >    _____  
> > 
> > 
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.9.8/61 -
> Release Date: 01/08/05
> > 
> > 
> > 
> > -- 
> > No virus found in this outgoing message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.9.8/61 -
> Release Date: 01/08/05
> >  
> > 
> > 
> > [Non-text portions of this message have been
> removed]
> 
> 
> 
> 


__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hf67m87/M=362335.6886445.7839731.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123202173/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to