[5679] in java-interest

home help back first fref pref prev next nref lref last post

Re: C++ - how to link

daemon@ATHENA.MIT.EDU (SShaio)
Thu Feb 22 02:23:42 1996

Date: Wed, 21 Feb 1996 21:42:06 -0800
From: sshaio@netcom.com (SShaio)
To: dpark@F1.telekurs.ch, java-interest@java.sun.com

Make sure that you declare your C++ stub (the function that implements
the native method for your Java class) as extern "C" Otherwise, the
symbol that actually gets generated in the library is the C++ mangled
name.

--sami
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post