<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101714</guid>
        <pubDate>Mon, 15 May 2006 19:43:34 +0000</pubDate>
        <title>Как правильно работать с TDCB?</title>
        <link>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101714</link>
        <description><![CDATA[Felan: А на кой черт тогда COMMCONFIG?<br>Плюс вот еще что в SDK написано.<br><br>Communications Resource Configuration<br>The COMMCONFIG structure defines the configuration of a communications resource, serial or otherwise. The format of the structure varies depending on the type of communications resource (the provider subtype). The first few structure members are common to all communications resources; additional members are defined for specific provider subtypes. Specific service providers may extend the COMMCONFIG structure as well.<br><br>An application can get and set the configuration of a communications resource by using the GetCommConfig and SetCommConfig functions. When opened, a communications resource is initialized using the default configuration for its provider subtype. To get and set the default configuration for a provider subtype, use the GetDefaultCommConfig and SetDefaultCommConfig functions.<br>To prompt the user for configuration information, use the CommConfigDialog function. This function displays a dialog box defined by the service provider and fills in a COMMCONFIG structure based on user input.<br><br>Тут не слова нет, что надо использовать напряму DCB. В дальнейшем она вспывает... но. То, что ее можно напряму редактировать не говорит о том, что это хороший тон... Сколько знаю народа, которы устраивали танцы с этой DCB ни у кого почеловечески все это не работало, т.е. Поэтому я все-таки сомневаюсь, что это правильно.<br><br>И то, что в иходникак модуля Windows константы задающие флаги для этой структуры объявлены не правильно, на мой вгляд, есть лишнее тому подтверждение.<br><br>ЗЫЖ MSDN хорошо, но SDK ближе к среде.<br><br>Из предпоследнего твоего поста я понял, что у тебя был какой-то проек который работал какой-то железкой по RS232 и раз использовались константы RTS_CONTROL_ENABLED и т.д. пологаю, что предпологались разные режимы работы этих сигналов.<br>Смотрела ли ты на осциллографе, в режиме TOGLE как выставляется RTS?<br><br>У меня основная проблема в том, что бы правильно выставить этот сигнал, он должен быть четко после последнего переданного бита из &#33;буфера порта&#33; в устройство.]]></description>
        <author>Felan</author>
        <category>Delphi: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101441</guid>
        <pubDate>Mon, 15 May 2006 14:25:05 +0000</pubDate>
        <title>Как правильно работать с TDCB?</title>
        <link>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101441</link>
        <description><![CDATA[Тестировщица: Имхо - гонишь-)<br>
А читать лучше MSDN<br>
<br>
Пример из plaform SDK:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">Configuring a Communications Resource</div><div class="code_line">The following example opens a handle to COM1 and fills in a DCB structure with the current configuration. The DCB structure is then modified and used to reconfigure the device. </div><div class="code_line">&nbsp;</div><div class="code_line">/* A sample program to illustrate setting up a serial port. */</div><div class="code_line">&nbsp;</div><div class="code_line">#include &#60;windows.h&#62;</div><div class="code_line">&nbsp;</div><div class="code_line">int</div><div class="code_line">main(int argc, char *argv[])</div><div class="code_line">{</div><div class="code_line">&nbsp;&nbsp;DCB dcb;</div><div class="code_line">&nbsp;&nbsp;HANDLE hCom;</div><div class="code_line">&nbsp;&nbsp;BOOL fSuccess;</div><div class="code_line">&nbsp;&nbsp;char *pcCommPort = &quot;COM2&quot;;</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;hCom = CreateFile( pcCommPort,</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GENERIC_READ | GENERIC_WRITE,</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0, &nbsp; &nbsp;// comm devices must be opened w/exclusive-access</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL, // no security attributes</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OPEN_EXISTING, // comm devices must use OPEN_EXISTING</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0, &nbsp; &nbsp;// not overlapped I/O</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NULL &nbsp;// hTemplate must be NULL for comm devices</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; );</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;if (hCom == INVALID_HANDLE_VALUE) {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;// Handle the error.</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;printf (&quot;CreateFile failed with error %d.\n&quot;, GetLastError());</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;return (1);</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;// We will build on the current configuration, and skip setting the size</div><div class="code_line">&nbsp;&nbsp;// of the input and output buffers with SetupComm.</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;fSuccess = GetCommState(hCom, &amp;dcb);</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;if (!fSuccess) {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;// Handle the error.</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;printf (&quot;GetCommState failed with error %d.\n&quot;, GetLastError());</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;return (2);</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;// Fill in the DCB: baud=57,600 bps, 8 data bits, no parity, and 1 stop bit.</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;dcb.BaudRate = CBR_57600; &nbsp; &nbsp; // set the baud rate</div><div class="code_line">&nbsp;&nbsp;dcb.ByteSize = 8; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // data size, xmit, and rcv</div><div class="code_line">&nbsp;&nbsp;dcb.Parity = NOPARITY; &nbsp; &nbsp; &nbsp; &nbsp;// no parity bit</div><div class="code_line">&nbsp;&nbsp;dcb.StopBits = ONESTOPBIT; &nbsp; &nbsp;// one stop bit</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;fSuccess = SetCommState(hCom, &amp;dcb);</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;if (!fSuccess) {</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;// Handle the error.</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;printf (&quot;SetCommState failed with error %d.\n&quot;, GetLastError());</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;return (3);</div><div class="code_line">&nbsp;&nbsp; &nbsp;}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;printf (&quot;Serial port %s successfully reconfigured.\n&quot;, pcCommPort);</div><div class="code_line">&nbsp;&nbsp;return (0);</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script>]]></description>
        <author>Тестировщица</author>
        <category>Delphi: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101431</guid>
        <pubDate>Mon, 15 May 2006 14:06:01 +0000</pubDate>
        <title>Как правильно работать с TDCB?</title>
        <link>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101431</link>
        <description><![CDATA[Felan: Я собственно и пологал, что придется самому битовые константы определять для флагов, но надеялся, что есть стандартные функции...<br><br>Кстати, я вот почитал SDK по внимательнее... И, как мне показалось, с DCB напрямую работать вообще не надо.<br>А правильно использовать COMMCONFIG. Через нее все и устанавливать, включая и настройки устройства... толи голый RS232, толи конкретный модем... Вобщем, есть у меня подозрения, что подобный подход мелкомягкими не задумывался, поэтому и все не так гладко выходит с этой DCB.<br>... Или я гоню?]]></description>
        <author>Felan</author>
        <category>Delphi: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101147</guid>
        <pubDate>Mon, 15 May 2006 10:57:36 +0000</pubDate>
        <title>Как правильно работать с TDCB?</title>
        <link>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1101147</link>
        <description><![CDATA[Тестировщица: код выдран из старого проекта...думаю, в качестве примера работы с  dcb.Flags сойдет<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">type</div><div class="code_line">............</div><div class="code_line">&nbsp;&nbsp;TComPortHwHandshaking = ( hhNONE, hhNONERTSON, hhRTSCTS );</div><div class="code_line">&nbsp;&nbsp;TComPortSwHandshaking = ( shNONE, shXONXOFF );</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;TPacketMode = ( pmDiscard, pmPass );{ What to do with incomplete (incoming) packets }</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;TComPortLineStatus = ( lsCTS, lsDSR, lsRING, lsRLSD);</div><div class="code_line">&nbsp;&nbsp;TComPortLineStatusSet = set of TComPortLineStatus;</div><div class="code_line">........</div><div class="code_line">&nbsp;</div><div class="code_line">const</div><div class="code_line">&nbsp;&nbsp;dcb_Binary &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= {text}000001;</div><div class="code_line">&nbsp;&nbsp;dcb_ParityCheck &nbsp; &nbsp; &nbsp; &nbsp; = {text}000002;</div><div class="code_line">&nbsp;&nbsp;dcb_OutxCtsFlow &nbsp; &nbsp; &nbsp; &nbsp; = {text}000004;</div><div class="code_line">&nbsp;&nbsp;dcb_OutxDsrFlow &nbsp; &nbsp; &nbsp; &nbsp; = {text}000008;</div><div class="code_line">&nbsp;&nbsp;dcb_DtrControlMask &nbsp; &nbsp; &nbsp;= {text}000030;</div><div class="code_line">&nbsp;&nbsp;dcb_DtrControlDisable &nbsp; = {text}000000;</div><div class="code_line">&nbsp;&nbsp;dcb_DtrControlEnable &nbsp; &nbsp;= {text}000010;</div><div class="code_line">&nbsp;&nbsp;dcb_DtrControlHandshake = {text}000020;</div><div class="code_line">&nbsp;&nbsp;dcb_DsrSensivity &nbsp; &nbsp; &nbsp; &nbsp;= {text}000040;</div><div class="code_line">&nbsp;&nbsp;dcb_TXContinueOnXoff &nbsp; &nbsp;= {text}000080;</div><div class="code_line">&nbsp;&nbsp;dcb_OutX &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= {text}000100;</div><div class="code_line">&nbsp;&nbsp;dcb_InX &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = {text}000200;</div><div class="code_line">&nbsp;&nbsp;dcb_ErrorChar &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = {text}000400;</div><div class="code_line">&nbsp;&nbsp;dcb_NullStrip &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = {text}000800;</div><div class="code_line">&nbsp;&nbsp;dcb_RtsControlMask &nbsp; &nbsp; &nbsp;= {text}003000;</div><div class="code_line">&nbsp;&nbsp;dcb_RtsControlDisable &nbsp; = {text}000000;</div><div class="code_line">&nbsp;&nbsp;dcb_RtsControlEnable &nbsp; &nbsp;= {text}001000;</div><div class="code_line">&nbsp;&nbsp;dcb_RtsControlHandshake = {text}002000;</div><div class="code_line">&nbsp;&nbsp;dcb_RtsControlToggle &nbsp; &nbsp;= {text}003000;</div><div class="code_line">&nbsp;&nbsp;dcb_AbortOnError &nbsp; &nbsp; &nbsp; &nbsp;= {text}004000;</div><div class="code_line">&nbsp;&nbsp;dcb_Reserveds &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = $FFFF8000;</div><div class="code_line">&nbsp;</div><div class="code_line">var</div><div class="code_line">&nbsp;dcb: TDCB;</div><div class="code_line">..............................</div><div class="code_line">dcb.Flags := dcb_Binary;</div><div class="code_line">&nbsp;&nbsp;{ Enables the DTR line when the device is opened and leaves it on }</div><div class="code_line">&nbsp;&nbsp;if fEnableDTROnOpen then</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;dcb.Flags := dcb.Flags or dcb_DtrControlEnable;</div><div class="code_line">&nbsp;&nbsp;{ Kind of hw handshaking to use }</div><div class="code_line">&nbsp;&nbsp;case FComPortHwHandshaking of</div><div class="code_line">&nbsp;&nbsp; &nbsp;{ No hardware handshaking }</div><div class="code_line">&nbsp;&nbsp; &nbsp;hhNONE:;</div><div class="code_line">&nbsp;&nbsp; &nbsp;{ No hardware handshaking but set RTS high and leave it high }</div><div class="code_line">&nbsp;&nbsp; &nbsp;hhNONERTSON:</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;dcb.Flags := dcb.Flags or dcb_RtsControlEnable;</div><div class="code_line">&nbsp;&nbsp; &nbsp;{ RTS/CTS (request-to-send/clear-to-send) hardware handshaking }</div><div class="code_line">&nbsp;&nbsp; &nbsp;hhRTSCTS:</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;dcb.Flags := dcb.Flags or dcb_OutxCtsFlow or dcb_RtsControlHandshake;</div><div class="code_line">&nbsp;&nbsp;end;</div><div class="code_line">&nbsp;&nbsp;{ Kind of sw handshaking to use }</div><div class="code_line">&nbsp;&nbsp;case FComPortSwHandshaking of</div><div class="code_line">&nbsp;&nbsp; &nbsp;{ No software handshaking }</div><div class="code_line">&nbsp;&nbsp; &nbsp;shNONE:;</div><div class="code_line">&nbsp;&nbsp; &nbsp;{ XON/XOFF software handshaking }</div><div class="code_line">&nbsp;&nbsp; &nbsp;shXONXOFF:</div><div class="code_line">&nbsp;&nbsp; &nbsp; &nbsp;dcb.Flags := dcb.Flags or dcb_OutX or dcb_InX;</div><div class="code_line">&nbsp;&nbsp;end;</div></ol></div></div></div></div>]]></description>
        <author>Тестировщица</author>
        <category>Delphi: Общие вопросы</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1100724</guid>
        <pubDate>Mon, 15 May 2006 06:00:01 +0000</pubDate>
        <title>Как правильно работать с TDCB?</title>
        <link>https://forum.sources.ru/index.php?showtopic=142166&amp;view=findpost&amp;p=1100724</link>
        <description><![CDATA[Felan: Букв будет много, но по другому не получится. Стал я заполнять TDCB для порта и обнаружил слудующее:<br>
<br>
SDK:<br>
The DCB structure defines the control setting for a serial communications device. <br>
<br>
typedef struct _DCB { // dcb  <br>
    DWORD DCBlength;           // sizeof(DCB) <br>
    DWORD BaudRate;            // current baud rate <br>
    DWORD fBinary: 1;          // binary mode, no EOF check <br>
    DWORD fParity: 1;          // enable parity checking <br>
    DWORD fOutxCtsFlow:1;      // CTS output flow control <br>
    DWORD fOutxDsrFlow:1;      // DSR output flow control <br>
    DWORD fDtrControl:2;       // DTR flow control type <br>
    DWORD fDsrSensitivity:1;   // DSR sensitivity <br>
<br>
    DWORD fTXContinueOnXoff:1; // XOFF continues Tx <br>
    DWORD fOutX: 1;            // XON/XOFF out flow control <br>
    DWORD fInX: 1;             // XON/XOFF in flow control <br>
    DWORD fErrorChar: 1;       // enable error replacement <br>
    DWORD fNull: 1;            // enable null stripping <br>
    DWORD fRtsControl:2;       // RTS flow control <br>
    DWORD fAbortOnError:1;     // abort reads/writes on error <br>
    DWORD fDummy2:17;          // reserved <br>
    WORD wReserved;            // not currently used <br>
<br>
    WORD XonLim;               // transmit XON threshold <br>
    WORD XoffLim;              // transmit XOFF threshold <br>
    BYTE ByteSize;             // number of bits/byte, 4-8 <br>
    BYTE Parity;               // 0-4=no,odd,even,mark,space <br>
    BYTE StopBits;             // 0,1,2 = 1, 1.5, 2 <br>
    char XonChar;              // Tx and Rx XON character <br>
    char XoffChar;             // Tx and Rx XOFF character <br>
    char ErrorChar;            // error replacement character <br>
<br>
    char EofChar;              // end of input character <br>
    char EvtChar;              // received event character <br>
    WORD wReserved1;           // reserved; do not use <br>
} DCB; <br>
<br>
В модуле WINDOWS TDCB объявлена так:<br>
<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">type</div><div class="code_line">&nbsp;&nbsp;_DCB = packed record</div><div class="code_line">&nbsp;&nbsp; &nbsp;DCBlength: DWORD;</div><div class="code_line">&nbsp;&nbsp; &nbsp;BaudRate: DWORD;</div><div class="code_line">&nbsp;&nbsp; &nbsp;Flags: Longint;</div><div class="code_line">&nbsp;&nbsp; &nbsp;wReserved: Word;</div><div class="code_line">&nbsp;&nbsp; &nbsp;XonLim: Word;</div><div class="code_line">&nbsp;&nbsp; &nbsp;XoffLim: Word;</div><div class="code_line">&nbsp;&nbsp; &nbsp;ByteSize: Byte;</div><div class="code_line">&nbsp;&nbsp; &nbsp;Parity: Byte;</div><div class="code_line">&nbsp;&nbsp; &nbsp;StopBits: Byte;</div><div class="code_line">&nbsp;&nbsp; &nbsp;XonChar: CHAR;</div><div class="code_line">&nbsp;&nbsp; &nbsp;XoffChar: CHAR;</div><div class="code_line">&nbsp;&nbsp; &nbsp;ErrorChar: CHAR;</div><div class="code_line">&nbsp;&nbsp; &nbsp;EofChar: CHAR;</div><div class="code_line">&nbsp;&nbsp; &nbsp;EvtChar: CHAR;</div><div class="code_line">&nbsp;&nbsp; &nbsp;wReserved1: Word;</div><div class="code_line">&nbsp;&nbsp;end;</div></ol></div></div></div></div><br>
<br>
Понятно, что указанные в SDK поля:<br>
    DWORD fBinary: 1;          // binary mode, no EOF check <br>
    DWORD fParity: 1;          // enable parity checking <br>
    DWORD fOutxCtsFlow:1;      // CTS output flow control <br>
    DWORD fOutxDsrFlow:1;      // DSR output flow control <br>
    DWORD fDtrControl:2;       // DTR flow control type <br>
    DWORD fDsrSensitivity:1;   // DSR sensitivity <br>
<br>
    DWORD fTXContinueOnXoff:1; // XOFF continues Tx <br>
    DWORD fOutX: 1;            // XON/XOFF out flow control <br>
    DWORD fInX: 1;             // XON/XOFF in flow control <br>
    DWORD fErrorChar: 1;       // enable error replacement <br>
    DWORD fNull: 1;            // enable null stripping <br>
    DWORD fRtsControl:2;       // RTS flow control <br>
    DWORD fAbortOnError:1;     // abort reads/writes on error <br>
    DWORD fDummy2:17;          // reserved <br>
<br>
представлены в TDCB как Flags: Longint. Т.е. для того, что бы присвоить полю DWORD fDtrControl значение, например RTS_CONTROL_DISABLE нужно в TDCB ПРАВИЛЬНО заполнить поле Flags: Longint.<br>
<br>
  Если бы RTS_CONTROL_DISABLE, RTS_CONTROL_ENABLE, DTR_CONTROL_HANDSHAKE и т.д. были битовыми константами, то я бы сделал так:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">&nbsp;&nbsp;fDCB.Flags := fDCB.Flags or aCOMProp.RTSControl or aCOMProp.DTRControl;</div></ol></div></div></div></div><br>
  Но эти константы объявлены как:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">const</div><div class="code_line">&nbsp;&nbsp;{ DTR Control Flow Values. }</div><div class="code_line">&nbsp;&nbsp;DTR_CONTROL_DISABLE = 0;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM DTR_CONTROL_DISABLE}</div><div class="code_line">&nbsp;&nbsp;DTR_CONTROL_ENABLE = 1;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM DTR_CONTROL_ENABLE}</div><div class="code_line">&nbsp;&nbsp;DTR_CONTROL_HANDSHAKE = 2;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM DTR_CONTROL_HANDSHAKE}</div><div class="code_line">&nbsp;</div><div class="code_line">&nbsp;&nbsp;{ RTS Control Flow Values}</div><div class="code_line">&nbsp;&nbsp;RTS_CONTROL_DISABLE = 0;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM RTS_CONTROL_DISABLE}</div><div class="code_line">&nbsp;&nbsp;RTS_CONTROL_ENABLE = 1;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM RTS_CONTROL_ENABLE}</div><div class="code_line">&nbsp;&nbsp;RTS_CONTROL_HANDSHAKE = 2;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM RTS_CONTROL_HANDSHAKE}</div><div class="code_line">&nbsp;&nbsp;RTS_CONTROL_TOGGLE = 3;</div><div class="code_line">&nbsp;&nbsp;{$EXTERNALSYM RTS_CONTROL_TOGGLE}</div></ol></div></div></div></div><br>
<br>
Поэтому так делать нельзя... А как правильно сделать???]]></description>
        <author>Felan</author>
        <category>Delphi: Общие вопросы</category>
      </item>
	
      </channel>
      </rss>
	