Hello Rooters-
I run into a problem if I try to create multiple TTimers after I load my
own shared library. Running one TTimer works fine but If I try to turn on
a second one I get:
<CustomReAlloc2>: passed oldsize 4, should be 0
Fatal in <CustomReAlloc2>: storage area overwritten
aborting
Any Ideas?
Thanks,
Adam DeGrush
main(){
const char *command1;
command1 = new char;
const char *command2;
command2 = new char;
TTimer *mytimer1;
TTimer *mytimer2;
mytimer1 = new TTimer("command1();",5000,kFALSE);
mytimer1->TurnOn();
mytimer2 = new TTimer("command2();",15000,kFALSE);
mytimer2->TurnOn(); //--->**aborts here**
}
void command1()
{
cout << " check1" << endl;
}
void command2()
{
cout << "check2" << endl;
}
Running Version 3.02/00
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:04 MET