Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!texbell!merch!spudge!thorp From: thorp@spudge.UUCP (Don Thorp) Newsgroups: comp.lang.c++ Subject: Problem with Zortech C++ 1.07 Message-ID: <4659@spudge.UUCP> Date: 18 Oct 89 22:41:28 GMT Reply-To: thorp@spudge.UUCP (Don Thorp) Distribution: usa Organization: Friends of Guru Bob Lines: 22 I've just started using C++ so I still shaky, but I've run into an anomaly that I just can't explain. I've created a couple of classes that use a static instance of the class to ensure that the class is initialized before any other instances are created. Anamoly: It Works ! :-) I link the objects modules directly without placing them in a library. The constructors are called, and everything works fine. It Doesn't Work :-< Using ZorLib, I create libraries containg the object modules. I link them in using MS-Link or BLink and ... the static constructors are never called! Why? Don Thorp USENET: ...!texbell!letni!rwsys!spudge!thorp Phone : (817) 390-2144