<br><font size=2 face="sans-serif">>> </font><font size=2 face="Arial">I ran into errors when making some omniORB API calls from constructors of my global static objects (on windows).</font><font size=3 face="Times New Roman"> </font>
<br>
<br><font size=3 face="Times New Roman">If you have a global static object, it is instanciated before main() enters. Therefore, I wouldn't expect omniORB to be setup yet since you haven't even called orb_init().</font>
<br>
<p><font size=2 face="Arial">>> If the last point is the good one, is someone knows another way to instanciate my singleton class without an explicit call to a Singleton::GetInstance() method !</font>
<p><font size=2 face="Arial">>>The reason is that I'm providing a library that encapsulate omniORB and provide another object API that do not have a kind of Initialize methods that MUST be called first prior of others calls…</font>
<p><font size=2 face="Arial">You could just have your API keep an internal initialized flag and for every method call into it, make sure it is initialized, and if not, call the GetInstance() method first...</font>
<p>
<p><font size=2 face="Arial">ScottR</font>