Davide,
I am attempting to create a DLL wrapper for ctrlclnt.exe program. (I
realize I could use the shell command, but this is the only way I know =
of to
learn C++ is to try and make things that work) While in this endeavor, =
I
came across this inconsistency. Is this a possible bug or on oversight?
Thanks for all you've done.
Mike
=20
In SysDepWin.cpp
You have
int SysInitLibrary(void)
{
<SNIP the start of the procedure>
=20
if (SysThreadSetup() < 0) // isn't this always false=20
// as the function Always return
a 0.
{
ErrorPush();
CloseHandle(hShutdownEvent);
DeleteCriticalSection(&csLog);
DeleteCriticalSection(&csTLS);
return (ErrorPop());
}
return (0);
}
<REALLY BIG SNIP>
static int SysThreadSetup(void)
{
=20
SysInitTlsKeys();
return (0); // Always return a 0
}
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]