Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!sirius.ucs.adelaide.edu.au!fang!dch From: dch@aeg.dsto.oz.au (Dave Hanslip) Newsgroups: comp.lang.c++ Subject: multiple instances of NIL object using NIHCL Message-ID: <1335@fang.dsto.oz> Date: 7 Dec 90 00:41:19 GMT Sender: news@fang.dsto.oz Distribution: comp Lines: 27 We are running SunOs 4.1 on Sparcstation 1's and 1+'s and using Sun's C++ compiler version 2.0. When we initially compiled the NIH class libraries we found that we could not get them to work unless we removed the _main.o from libnihcl.a and used as the first line of our main NIHCL::Initialize() This seemed to work fine, but we are now running into troubles with what we believe to be multiple instances of the NIL object. When _main is left in libnihcl.a it seems that it never gets activated. We cannot find any meaningful or useful references to _main.C in the Sun manuals. Has anybody had any experience with using a custom version of _main? Has anybody else followed the same path as us and can advise? Should we be looking somewhere else for the problem? Any help would be appreciated. David C. Hanslip E-mail: dch@aeg.dsto.oz.au Aeronautical Research Laboratory Phone: +61 8 259 5792 DSTO Salisbury, South Australia Fax: +61 8 259 5507 Brought to you by Super Global Mega Corp .com