Danke für den Tipp mit PortMon.
Ich habe mal für mein Programm mitgelauscht.
Delphi-Quellcode:
2 0.00005671 Project1.exe IRP_MJ_CREATE Serial0 SUCCESS Options: Open
3 0.00000335 Project1.exe IOCTL_SERIAL_SET_QUEUE_SIZE Serial0 SUCCESS InSize: 4096 OutSize: 4096
4 0.00000168 Project1.exe IOCTL_SERIAL_GET_BAUD_RATE Serial0 SUCCESS
5 0.00000168 Project1.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial0 SUCCESS
6 0.00000140 Project1.exe IOCTL_SERIAL_GET_CHARS Serial0 SUCCESS
7 0.00000140 Project1.exe IOCTL_SERIAL_GET_HANDFLOW Serial0 SUCCESS
8 0.00000168 Project1.exe IOCTL_SERIAL_GET_TIMEOUTS Serial0 SUCCESS
9 0.00000168 Project1.exe IOCTL_SERIAL_SET_TIMEOUTS Serial0 SUCCESS RI:-1 RM:0 RC:0 WM:0 WC:0
10 0.00000140 Project1.exe IOCTL_SERIAL_GET_BAUD_RATE Serial0 SUCCESS
11 0.00000168 Project1.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial0 SUCCESS
12 0.00000140 Project1.exe IOCTL_SERIAL_GET_CHARS Serial0 SUCCESS
13 0.00000140 Project1.exe IOCTL_SERIAL_GET_HANDFLOW Serial0 SUCCESS
14 0.00000866 Project1.exe IOCTL_SERIAL_SET_BAUD_RATE Serial0 SUCCESS Rate: 9600
15 0.00000447 Project1.exe IOCTL_SERIAL_CLR_RTS Serial0 SUCCESS
16 0.00000475 Project1.exe IOCTL_SERIAL_CLR_DTR Serial0 SUCCESS
17 0.00000140 Project1.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial0 INVALID PARAMETER StopBits: 1.52 Parity: NONE WordLength: 8
18 0.00000140 Project1.exe IOCTL_SERIAL_GET_BAUD_RATE Serial0 SUCCESS
19 0.00000140 Project1.exe IOCTL_SERIAL_GET_LINE_CONTROL Serial0 SUCCESS
20 0.00000140 Project1.exe IOCTL_SERIAL_GET_CHARS Serial0 SUCCESS
21 0.00000140 Project1.exe IOCTL_SERIAL_GET_HANDFLOW Serial0 SUCCESS
22 0.00000838 Project1.exe IOCTL_SERIAL_SET_BAUD_RATE Serial0 SUCCESS Rate: 9600
23 0.00000447 Project1.exe IOCTL_SERIAL_CLR_RTS Serial0 SUCCESS
24 0.00000419 Project1.exe IOCTL_SERIAL_CLR_DTR Serial0 SUCCESS
25 0.00000279 Project1.exe IOCTL_SERIAL_SET_LINE_CONTROL Serial0 SUCCESS StopBits: 1 Parity: NONE WordLength: 8
26 0.00000279 Project1.exe IOCTL_SERIAL_SET_CHAR Serial0 SUCCESS EOF:0 ERR:0 BRK:0 EVT:0 XON:0 XOFF:0
27 0.00000363 Project1.exe IOCTL_SERIAL_SET_HANDFLOW Serial0 SUCCESS Shake:0 Replace:0 XonLimit:2048 XoffLimit:512
28 0.00000447 Project1.exe IOCTL_SERIAL_SET_DTR Serial0 SUCCESS
29 0.00000419 Project1.exe IOCTL_SERIAL_SET_RTS Serial0 SUCCESS
30 0.00000307 Project1.exe IOCTL_SERIAL_SET_WAIT_MASK Serial0 SUCCESS Mask: RXCHAR RXFLAG TXEMPTY CTS DSR RLSD BRK ERR RING
31 0.00000950 Project1.exe IOCTL_SERIAL_GET_MODEMSTATUS Serial0 SUCCESS
32 0.00000307 Project1.exe IOCTL_SERIAL_GET_COMMSTATUS Serial0 SUCCESS
33 18.08476105 Project1.exe IOCTL_SERIAL_WAIT_ON_MASK Serial0 SUCCESS
34 0.00000922 Project1.exe IOCTL_SERIAL_GET_MODEMSTATUS Serial0 SUCCESS
35 0.00000335 Project1.exe IOCTL_SERIAL_GET_COMMSTATUS Serial0 SUCCESS
36 0.00000363 Project1.exe IOCTL_SERIAL_GET_MODEMSTATUS Serial0 SUCCESS
37 0.00000168 Project1.exe IOCTL_SERIAL_GET_COMMSTATUS Serial0 SUCCESS
38 0.00000838 Project1.exe IOCTL_SERIAL_GET_MODEMSTATUS Serial0 SUCCESS
39 0.00000307 Project1.exe IOCTL_SERIAL_GET_COMMSTATUS Serial0 SUCCESS
Der letzte Teil setzt sich dann solange nichts gesendet wir immer weiter so fort bis ich mein Programm schließe.
Ist daraus etwas zu erkennen ?
mfg Yannic