B
Bob Altman
Hi all,
I have a private static structure in a C++ class (it's a CRITICAL_SECTION
structure) that needs to be initialized by passing its address to a routine
(InitializeCriticalSection). Since C++ apparently doesn't allow a static
constructor routine, how do I initialize my static member variable prior to
allowing any instances to be constructed?
TIA - Bob
I have a private static structure in a C++ class (it's a CRITICAL_SECTION
structure) that needs to be initialized by passing its address to a routine
(InitializeCriticalSection). Since C++ apparently doesn't allow a static
constructor routine, how do I initialize my static member variable prior to
allowing any instances to be constructed?
TIA - Bob