[2891] in java-interest
Re: C++ native modules!!
daemon@ATHENA.MIT.EDU (Michael Lorton)
Thu Oct 19 16:39:48 1995
Date: Thu, 19 Oct 1995 11:25:55 -0700
From: Michael Lorton <mlorton@eshop.com>
To: psenthil@iss.nus.sg
Cc: java-interest@java.sun.com, Arthur.Vanhoff@Eng.Sun.COM,
psenthil@iss.nus.sg
In-Reply-To: <9510190820.AA09399@iss.nus.sg> (psenthil@iss.nus.sg)
> I dont know whether this is possible or not.
> Is it possible to load a dll created from a c++ code.
>
I don't know if it's possible or not, but what you did won't work
> void Helloworld_displayHelloworld(struct HHelloworld *t)
> {
> cout <<"adfsg"<<endl;
> return;
> }
you need
extern "C" void Helloworld_displayHelloworld(struct HHelloworld *t)
...
M.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com