易截截图软件、单文件、免安装、纯绿色、仅160KB
热门标签: c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 最新文章 :

delphi接受UDP数据包

谁能给我个简单的例子  
delphi接受UDP数据包的 要接收数组的
最好是用 IdTCPserver1的
最好还有发送的部分
本人菜鸟,谢谢各位了!!

楼上给的是TCP的吧 我要UDP的  
谢谢!!

引用
最好是用 IdTCPserver1的
这不是你写的吗

对不起我写错了 
我要IdUDPClient1
不好意思


proce ......

Delphi Thread

主窗体:
Delphi(Pascal) code:

procedure TfrmMain.btnResumeClick(Sender: TObject);
begin
myThread := TClientThread.Create(LeftPart(cbbServer.Text, ':'), StrToInt(RightPart(cbbServer.Text, ':')));
myThread.Resume;
mmoLog.Lines.Add('线程已激活');
end;
procedure TfrmMain.btnSuspendClick( ......

VC调用DELPHI DLL乱码

Delphi(Pascal) code:

library HealthDocDll;
uses
SysUtils,
Classes,
Forms,
Dialogs,
Windows,
HealthDoc in 'HealthDoc.pas' {frmHealthDoc},
pub in 'pub.pas';
{$R *.res}
procedure ShowForm(DoctorName,UserName:string);
begin
sDoctorName:=DoctorName;
sUserName:=UserName; ......

Delphi的语法问题 - Delphi / 语言基础/算法/系统设计

例子程序见附件,用Delphi 7进行编译
问题代码为 
Delphi(Pascal) code:
if Node.ChildNodes <> nil then
begin
for i := 0 to Node.ChildNodes.Count - 1 do
begin
cNode := Node.ChildNodes.Get(i);
shapetype := cNode.NodeName;
if (shapeType = 'line') then
......

delphi存放到一个数组里

定义: 
type
  pm= packed record { IO记录 }
  Name:string[16]; { IO名称 }
  CHn:Byte; {输入通道号 }
  Pvh:Double; { 量程上限 }
  Pvl:Double; { 量程下限 }
  DW:string[8]; { 量程单位 }
  Bjh:D ......

问几个delphi的属性问题

edit.begindrag(false,10);表面看应该是开始拖动里面的false,10参数本别对应什么? 
procedure TDragForm.ListDragOver(Sender, Source: TObject; X, Y: Integer;
  State: TDragState; var Accept: Boolean);
begin
  Accept := True;
  if (Source = Edit1) and
  ((Sender as TCu ......
总记录数:27572; 总页数:4596; 每页6 条; 首页 上一页 [809] [810] [811] [812] 813 [814] [815] [816] [817] [818]  下一页 尾页
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号