莫名其妙的问题啊!!!function initinfo(cH:thandle):integer;
var filename : string;
begin
** application.Handle:=ch;
result:=0;
filename:=extractfilepath(application.exename)+'\data';
if fileexists(Format('%s.xml',[filename])) then
begin
tmpdata.LoadFromFile(filename);
result:=1;
end
end;
以前用着好好里,可现在在编译的时候在**位置提示
Incompatible types: 'QApplicationH' and 'Cardinal',怎么回事啊
var filename : string;
begin
** application.Handle:=ch;
result:=0;
filename:=extractfilepath(application.exename)+'\data';
if fileexists(Format('%s.xml',[filename])) then
begin
tmpdata.LoadFromFile(filename);
result:=1;
end
end;
以前用着好好里,可现在在编译的时候在**位置提示
Incompatible types: 'QApplicationH' and 'Cardinal',怎么回事啊
解决方案 »
- 求把下列JAVA code 转成DELPHI7
- canvas.copyrect有没有不让他自动缩放的方法?
- TStoredProc返回的Dataset修改后未提交数据库!
- 登陆的窗口
- Indy9和10比较,散分
- ★极度郁闷中,作程序员的我年纪大了以后怎么办呀???
- 需要将一个文本文件编译在一个程序中,使用时只看到一个工程文件,并可以让程序进行读取和操作
- 不知哪里有DELPHI 6 的FORM或屏幕打印控件下载?类似printatonce的打印控件!
- 谁知道哪里有可以访问MS OLAP Server多维数据库的Delphi控件?
- ADO的MaxRecords问题
- 怎么实现下面的打印功能(图片)---急
- 怪事,数据截断了,解答一下嘛
报错Incompatible types: 'QApplicationH' and 'integer'
我看了一下application.Handle:=ch;没有错呀,我试过了,
其他语句也不可能报这个错吧,可能是你别的地方错了
看看 Application.Handler 的帮助,或许可以找到答案。