关于静态调用dll的问题
这是我的dll向导里面的
function f(url:string):string;stdcall;
begin
result:= url;
end;
exports
f;
这是我新建工程的
function F(url:string):string;stdcall;external 'project1.dll';
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
var
theUrl: string;
begin
f(theurl);
showmessage(f(theUrl));
end;
end.
当我运行时,系统提示project.exe---无法找到入口
无法定位程序输入点 F 于动态链接库 project1.dll上
请问为什么会出现这样的情况,不用动态的调用,我就用静态的这种方法怎么调用;???