A
apple117
Unregistered / Unconfirmed
GUEST, unregistred user!
我按教科书用DELPHI编制了一个DLL,代码如下:
library firstdll;
uses
SysUtils,
Classes;
function addone(num:integer):integer;stdcall;
begin
result:=num+1;
end;
exports
addone;
end.
编译后用DELPHI测试正常,但用REGSVR32.EXE注册时弹出出错对话框:
firstdll.dll was loaded,but the DllRegisterServer entry point was not found.DllRegisterServer may not
be exported,or a corrupt version of firstdll.dll may be in memory.Consider using
PView to detect and remove it.
不知道如何才能解决。(注册后我重新启动计算机,内存中firstdll.dll不可能存在)。
library firstdll;
uses
SysUtils,
Classes;
function addone(num:integer):integer;stdcall;
begin
result:=num+1;
end;
exports
addone;
end.
编译后用DELPHI测试正常,但用REGSVR32.EXE注册时弹出出错对话框:
firstdll.dll was loaded,but the DllRegisterServer entry point was not found.DllRegisterServer may not
be exported,or a corrupt version of firstdll.dll may be in memory.Consider using
PView to detect and remove it.
不知道如何才能解决。(注册后我重新启动计算机,内存中firstdll.dll不可能存在)。