易截截图软件、单文件、免安装、纯绿色、仅160KB

求 delphi webserivice 调用例子

求  delphi webserivice 调用例子
服务端编写:新建"WebServices-->SOAP Server Application-->ISAPI/NSAPI Dynamic Link Library","Service name"填写你要的服务名,如"SendSmsServices",然后在SendSmsServiceIntf.pas中添加接口函数:
Delphi(Pascal) code:
{ Invokable interface ISendSmsService }

unit SendSmsServiceIntf;

interface

uses InvokeRegistry, Types, XSBuiltIns;

type

{ Invokable interfaces must derive from IInvokable }
ISendSmsService = interface(IInvokable)
['{2DE80373-26E4-49B6-86E1-DC67D456FB90}']

{ Methods of Invokable interface must not use the default }
{ calling convention; stdcall is recommended }
function sendSms(const sendSms1: widestring): widestring; stdcall;
end;

implementation

initialization
{ Invokable interfaces must be registered }
InvRegistry.RegisterInterface(TypeInfo(ISendSmsService));

end.


在SendSmsServiceImpl.pas中写具体的处理过程

Delphi(Pascal) code:
{ Invokable implementation File for TSendSmsService which implements ISendSmsService }

unit SendSmsServiceImpl;

interface

uses InvokeRegistry, Types, XSBuiltIns, SendSmsServiceIntf;

type
{ TSendSmsService }
TSendSmsService = c


相关问答:

Delphi与SQL的文件存取问题

请问:
1、如何在Delphi中,把指定文件保存到SQL中,SQL对应字段又应该用什么类型才比较合适?
2、对于1操作,如何把保存到SQL中的文件打开?
3、以上文件主要针对Office(DOC、XLS等)文件类型,图片(BMP ......

需要把vb代码转成delphi或VC++的代码。

怎么实现dos下runas自动输入密码
http://bbs.pfan.cn/post-278076.html
代码如下:
VB code:

Option Explicit
Private Const LOGON_WITH_PROFILE = &H1&
Private Const CREATE_DEFAULT_ERRO ......

delphi中如何将一个access表的数据导入到另一个表中?

谢谢了。最好有代码
Insert into Table2(field1,field2,...) select value1,value2,... from Table1

insert into 表一 select * from 表二

如果字段不一致,要指定字段

insert into 表一(A,B) se ......

delphi 除法 "/" 与 div 的不同

[size=18px]var s,n:integer;
begin
write('输入变长的条数n');       
readln(n);
[color=#FF0000]s:=n*(n-1)*(n-2)div 6;    //本行替换为s:=n*(n-1)*(n-2)/ ......

is not a valid integer value delphi问题

我尝试一个 idhttp 访问网站链接的程序
在设置代理端口的时候出错
编译没有错误
就是在运行的时候 出现了
80 is not a valid integer value 的问题
我已经把 函数分类出来的 port 转换为 integer 了 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号