[813] in java-interest

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

C++ static member initialization

daemon@ATHENA.MIT.EDU (Nathan Abramson)
Thu Jul 20 17:40:55 1995

From: Nathan Abramson <arista@art.redstar.com>
Date: Thu, 20 Jul 1995 16:19:19 -0400
To: java-interest@java.sun.com, arista@art.redstar.com


I'm trying to use a C++ library of stuff (NeoAccess, to be
exact) with Java.  I put a C wrapper around the stuff I want,
made shared objects out of everything, and fired up Java.

Unfortunately, the C++ static class members aren't being
initialized when the C++ shared object is loaded.  Is there a
special function I can call that will initialize the static class
members properly?  Or do I have to make a function to call all the
static initializers by hand?

Nathan Abramson
Art Technology Group

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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