菜鸟dll,简单的问题
library mydll;
uses
SysUtils,Classes,Dialogs,windows;
function Triple(N:Integer):integer;stdcall;
begin
result:=N+3;
end;
function Double(N:Integer):integer;stdcall;
begin
result:=N+2;
end;
function Triple1(N:Integer):integer;stdcall;
begin
showmessage('计算N+3');
result:=N+3;
end;
function Double1(N:Integer):integer;stdcall;
begin
messagebox(0,'计算N+2','计算N+2',mb_ok);
result:=N+2;
end;
exports
Triple name 'Tr',
Double name 'Do',
Triple1 name 'TrM',
Double1 name 'DoM',
Triple,Double,Triple1,Double1;
{$R *.RES}
begin
end.
///////以上是我在网上看到的dll入门例子,我把它写道dephi里,没有语法错误,但是我执行run时,确报[DCC Error] E1026 File not found: 'mydll.RES'
请问该怎么办?