B
bbwll
Unregistered / Unconfirmed
GUEST, unregistred user!
我为了在多媒体编著软件中使用删除文件功能,需在DELPHI中定义一个函数DelFile,然后输出为dll文件。我按下面代码输出,为何报告[Fatal Error] Could not create output file 'fzxtdll.dll'?
function DelFile(const FileName:string): Boolean;stdcall;
begin
result:=deletefile(pAnsiChar(filename));
end;
exports
DelFile;
请指点!
function DelFile(const FileName:string): Boolean;stdcall;
begin
result:=deletefile(pAnsiChar(filename));
end;
exports
DelFile;
请指点!