dll单步调试,不能进入
void __stdcall openPort()
{
TYbCommDevice *_FYbCommDevice;
_FYbCommDevice->PortNo=1;
_FYbCommDevice->Baud=6;
_FYbCommDevice->Parity=0;
_FYbCommDevice->ByteSize=8;
_FYbCommDevice->StopBits=0;
try
{
_FYbCommDevice->Active = true;
}
catch(Exception &e)
{
ShowMessage("YbCommDevice1: "+e.Message);
}
}