V
Vincent Fatica
It seems Arnaud was on target regarding the RTL inserting exception handling
routines. Here's another oddball occurrence on which I hope someone can shed
some light.
My EVENT struct is declared in a header file. If without making any source
changes, I move the definition of it constructor (shown below) from one source
(CPP) file to another, I get the same (apparently) 6144 byte increase in the
size of my target DLL. The same happens if I move the destrustor along with it
but does not happen if I move the destructor alone. Thanks!
EVENT::EVENT(HANDLE new_h, WCHAR* new_id, BOOL bAuto, BOOL bTemp)
{
h = new_h;
lstrcpy(id, new_id);
bTemporary = bTemp;
bAutoReset = bAuto;
dwEventCount += 1;
// linked list stuff below; add new EVENT at the end
pNextEvent = NULL;
if ( pLastEvent )
{
pLastEvent->pNextEvent = this;
pPrevEvent = pLastEvent;
}
else
{
pPrevEvent = NULL;
pFirstEvent = this;
}
pLastEvent = this;
}
routines. Here's another oddball occurrence on which I hope someone can shed
some light.
My EVENT struct is declared in a header file. If without making any source
changes, I move the definition of it constructor (shown below) from one source
(CPP) file to another, I get the same (apparently) 6144 byte increase in the
size of my target DLL. The same happens if I move the destrustor along with it
but does not happen if I move the destructor alone. Thanks!
EVENT::EVENT(HANDLE new_h, WCHAR* new_id, BOOL bAuto, BOOL bTemp)
{
h = new_h;
lstrcpy(id, new_id);
bTemporary = bTemp;
bAutoReset = bAuto;
dwEventCount += 1;
// linked list stuff below; add new EVENT at the end
pNextEvent = NULL;
if ( pLastEvent )
{
pLastEvent->pNextEvent = this;
pPrevEvent = pLastEvent;
}
else
{
pPrevEvent = NULL;
pFirstEvent = this;
}
pLastEvent = this;
}