Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

delphi¿ª·¢µÄ¿Í»§¶ËÔõôÎÞ·¨Á¬½Ó9730¶Ë¿Ú?

·þÎñÆ÷ÊÇÒ»¸öÍøÂçÉ豸£¬Ä¿Ç°ÔÚÄÚÍø£¬IP¹Ì¶¨Îª192.168.1.123£¬¿ª·Å9707~9738¹²31¸öÁ¬Ðø¶Ë¿Ú(ÓÃXP×Ô´øµÄ³¬¼¶ÖÕ¶ËÊÔ¹ýÁË£¬ÕâЩ¶Ë¿Ú¶¼¿ÉÒÔÕý³£Á¬½Ó¡¢Í¨Ñ¶)¡£
ÓÃTcpClient¿Ø¼þдµÄ¿Í»§¶ËÈí¼þ£¬¾Í9730Õâ¸ö¶Ë¿ÚÎÞ·¨½¨Á¢Á¬½Ó¡¢Í¨Ñ¶£¬´úÂëÈçÏ£¬³ÌÐòÔËÐе½ ¡°MyTcpClient.Open;¡±Ê±¾Í±¨´í£¬MyTcpClient.OnError·µ»Ø10061ºÍ10057Á½¸ö´íÎó´úÂë¡£ÇëÎÊÊÇÔõô»ØÊ£¿

procedure TFormSMS.E1SendClick(Sender: TObject);
var
  MyTcpClient:TTcpClient;
  ID:DWORD;
  Rec:string;
  index:Integer;
begin
  MyTcpClient :=TTcpClient.Create(nil);
  MyTcpClient.BlockMode := bmBlocking;
  MyTcpClient.Name := 'MyTempTcpClient';
  MyTcpClient.OnError := TcpClient1Error;
  MyTcpClient.RemoteHost := RzEditE1IP.Text;
  MyTcpClient.RemotePort := RzEditE1Port.Text;
MyTcpClient.Open;  
  Sleep(100);
  if MyTcpClient.Active then
  begin
  if MyTcpClient.Sendln(RzEditE1Command.Text) > 0 then
  begin
  ...
  end;
  end;
  MyTcpClient.Close;
  MyTcpClient.Free;
end;

¿´¿´9730¶Ë¿ÚÊDz»ÊDZ»ÆäËû³ÌÐòÕ¼ÓÃÁË¡£

ûÓб»Õ¼Óã¬Õ¼ÓÃÁ˳¬¼¶ÖÕ¶ËÓ¦¸ÃÒ²Á¬²»ÉϲŶԡ£

ÊÇ·ñÓзÀ»ðǽ£¿
ÔÚ¿Í»§¶Ë£¬ÓÃtel ¿´Ò»ÏÂÊÇ·ñ¿ÉÒÔ£¿

ûÓзÀ»ðǽ£¬Ö÷ÒªÊÇÓ󬼶Öն˿ÉÒÔ£¬¶ø×Ô¼ºÐ´µÄ¿Í»§¶Ë¾ÍÄǸö¶Ë¿Ú²»ÐвÅÆæ¹Ö¡£

ÓÐûÓÐÄĸö´ó¸çÖª


Ïà¹ØÎÊ´ð£º

VC Delphi ÄÚ´æËÙ¶È±È½Ï - VC/MFC / ·Ç¼¼ÊõÀà

VC ¿ØÖÆ̨³ÌÐò:
#include <iostream>
using namespace std;
int main()
{
const int def_buffer = 1024 * 4;
DWORD t;
BYTE b[def_buffer];
memset(b, 0, sizeof(b));
PBYTE p;
t = GetTickC ......

2009ѧϰdelphiµÄÇ°¾°

ÎÒ±¾À´ÔÚѧУÊÇŪµÄJ2EE
×òÌìÈ¥Á˳¤É³Ò»¼Ò¹«Ë¾Ó¦Æ¸ ˵ÊÇÓÐÒ»¸öÏîÄ¿ delphiµÄ
ʵϰÆÚÒ»¸öÔ ËÄÌì°ëµÄdelphiÅàѵ ºóÃæ25Ìì¸øÄãÒ»¸öÉè¼ÆÎĵµ×Ô¼º×öÒ»¸öÏîÄ¿
×ߺ󲻾ôòµç»°¹ýÀ´½ÐÎÒÐÇÆÚһȥ±¨µ½ 
¿´µ½delphiµ ......

Ç¿ÁÒ½¨ÒéDELPHI°æ¸ü»»´ó°æ - Delphi / ·Ç¼¼ÊõÇø

hongqi162¡¢windindance
´Ë2È˳¤ÆÚ²»ÔÚÏߣ¬ÌرðÊÇwindindance
¸ü»»ÓÐÄÜÁ¦µÄÈËÉÏ
hongqi162»¹ÊǾ­³£ÉÏÀ´×ª×ªµÄ

ÒýÓÃ
¸ü»»ÓÐÄÜÁ¦µÄÈËÉÏ
ÆäʵҲ²»ÊÇʲôÄÜÁ¦µÄÔ­Òò£¬Ö÷Òª¿ÉÄÜÊÇʱ¼äÎÊÌâ°É
¹¤×÷µÄ»¹ÒªÉÏ°à£¬Ñ§Ï ......

delphiµÄdll×Ó´°ÌåÎÊÌâµÄ½â¾ö - Delphi / ·Ç¼¼ÊõÇø

Ò»Ö±ÏëʹÓÃdll£¬µ«delphiµÄdll×Ó´°Ìå¾­³£Óи÷ÖÖÎÊÌ⣬±ÈÈçÖ÷´°¿ÚÓëdll×Ó´°¿ÚµÄ½¹µãÎÊÌ⣬×Ó´°¿ÚÖпؼþµÄtab¼ü¡¢Èȼü¡¢enter¼üµÈµÄÎÊÌ⣬×Ó´°¿ÚÍ˳öµÄÎÊÌ⡢ƽÃæ°´Å¥ÎÊÌâµÈµÈ£¬ÍøÕ¾ÉϽøÐÐÁËËÑË÷£¬Ã»ÓбȽÏÍêÃÀµÄ½â¾ö· ......

xml´´½¨ºóÈçºÎÏú»Ù? - Delphi / ÍøÂçͨÐÅ/·Ö²¼Ê½¿ª·¢

xml := CreateOleObject('Microsoft.XMLHTTP');
  xml.Open('GET','http://www.google.com', False);
  xml.Send;
  xml.responseText;
ʹÓÃxml.responseText¿ÉÒÔ»ñÈ¡ÍøÒ³Ô´Âë,µ«ÊÇÔÙ´Î ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ