ecBadTrigger exception bug
Am using Release 4.07 RC4. Got an outbound only fax program that uses TApdSLController, TApdStatusLight and TApdSendFax. Running it on XP with two external modems. Something related to TApdSLController is causing ecBadTrigger exceptions. Sometimes while the program is running. Other times when you exit the application.
The following code can cause the problem.
ApdSLController1->Monitoring = false;
ApdSLController1->Monitoring = true;
The exception sometimes occurs when the progam is running and other times only on exit.
The documentation does not warn of particular usage of the TApdSLController gadget. I suspect it needs to be used in limited way and/or it has bugs related to install/remove of trigger handles.
With a test button tied to the following code I can cause the exception to occur more often.
ApdSLController1->Monitoring = false;
ApdComPort1->Open = false;
ApdComPort1->Open = true;
ApdSLController1->ComPort = ApdComPort1;
ApdSLController1->Monitoring = true;
ApdStatusLight1->Visible = true;
Any clues about this would be helpfull.