createdirectory ->createdir创建目录 4.ip转整数,inttostr(inet_addr('192.168.1.203'))不过此结果与c++中结果不同,因为c++的 字节顺序与delphi的字节顺序不同,DELPHI :CB 01 A8 C0即203 1 168 192转换为十进制为3405883584 c++ :c0 a8 01 cb 为十六进制转换为十
HostEnt:= gethostbyaddr(@SockAddrIn.sin_addr.S_addr, 4, AF_INET); if HostEnt<>nil then result:=StrPas(Hostent^.h_name) else result:=''; end; ◇[DELPHI]取得快捷方式中的连接 function ExeFromLink(const linkname: string): string; var FDir, FName, ExeName: PChar; z: in...
Items属性中写入项目,但是项目前具有CheckBox的形式,可以进行项目选择; 判断第k个项目是否被选择采用如下语句 :if checklistbox.checked[k] = ture ?,与若干单独的checkbox比较优势在于可以统一编程,不在需要对每一个checkbox单独去编写程序! 5. Additional页的橡皮筋控件Spliter 作用是分割窗体,是一自动行为控件,无需...
Cancel Create saved search Sign in Sign up {{ message }} maerlyn / old-delphi-codes Public Notifications You must be signed in to change notification settings Fork 23 Star 12 Code Issues Pull requests Actions Projects Wiki Security Insights ...