var
Form1: TForm1;
RegName: ARRAY[0..100] of char;
RegOrg: ARRAY[0..100] of char;
TempBuffer: ARRAY[0..256] of char;
RegVar: boolean;
Executions, Days:integer;implementation{$R *.dfm}procedure ShowReg();
begin MessageBox(0,'This example shows the use of Xprotector SDK-APIS in Delphi language','Xtreme-Protector',0); RegVar := IsRegistered(); if (RegVar) then
begin
GetLicenseInfo(RegName, RegOrg);
Days := DemoGetExecutionsToExpire();
Executions := DemoGetDaysToExpire(); wsprintf(TempBuffer, 'Application Registered to: %s - %s, Days left = %i, Executions left = %i)', RegName, RegOrg, Days, Executions);*************//[i]运行到这里RegName显示"Too many actual parameters 该如何处理啊? ****************[/i]
MessageBox(0, TempBuffer,'REGISTERED version',0); end else
MessageBox(0, 'This application needs a key to be executed','Xtreme-Protector',0);end;
Form1: TForm1;
RegName: ARRAY[0..100] of char;
RegOrg: ARRAY[0..100] of char;
TempBuffer: ARRAY[0..256] of char;
RegVar: boolean;
Executions, Days:integer;implementation{$R *.dfm}procedure ShowReg();
begin MessageBox(0,'This example shows the use of Xprotector SDK-APIS in Delphi language','Xtreme-Protector',0); RegVar := IsRegistered(); if (RegVar) then
begin
GetLicenseInfo(RegName, RegOrg);
Days := DemoGetExecutionsToExpire();
Executions := DemoGetDaysToExpire(); wsprintf(TempBuffer, 'Application Registered to: %s - %s, Days left = %i, Executions left = %i)', RegName, RegOrg, Days, Executions);*************//[i]运行到这里RegName显示"Too many actual parameters 该如何处理啊? ****************[/i]
MessageBox(0, TempBuffer,'REGISTERED version',0); end else
MessageBox(0, 'This application needs a key to be executed','Xtreme-Protector',0);end;
解决方案 »
- 求助,做了一个返回值是结构体的函数,如何将结果返送会去?
- 我的dblistbox加了数据 怎么无法点选?
- 求助:用delphi向数据库里插入数据 但是数据库里没数据
- 救救我啊!都三天了!!!分不够另开帖!!TSQLStoredProc执行MSSQLserver2000中的存储过程,出现“list index out of bounds(0)”的错误!
- 这两个文件有什么来打开
- 跪求dbexpress达人驻足一观!!!
- 利用random,数组产生10个不同的随机数。
- 鼠标拖动怎么选中dbgrideh多行数据,然后在删除操作,如何实现?
- 一个搞不清的TStrings问题,进来先
- 屏幕保护程序的调用问题!!!
- Anycell Report(中国式报表)的最新版本V1.7出来啦,支持交叉表和分组报表,欢迎下载!
- 主机需求
具体例子类似format("%d,%s",[intParam,strParam]);
不知有无帮助。