W
wzjoe
Unregistered / Unconfirmed
GUEST, unregistred user!
为什么执行这个dll出错(程序执行其他dll正常)
library code;
uses
SysUtils, Classes;
{$R *.RES}
function EnDeCode(const value:String):String;stdcall;
var
CharIndex : Integer;
ReturnValue : String;
begin
ReturnValue := '';
for CharIndex := 1 to Length(Value)do
begin
ReturnValue := ReturnValue + chr(NOT(ord(Value[CharIndex])));
end;
Result := ReturnValue;
end;
exports
EnDeCode;
begin
end.
library code;
uses
SysUtils, Classes;
{$R *.RES}
function EnDeCode(const value:String):String;stdcall;
var
CharIndex : Integer;
ReturnValue : String;
begin
ReturnValue := '';
for CharIndex := 1 to Length(Value)do
begin
ReturnValue := ReturnValue + chr(NOT(ord(Value[CharIndex])));
end;
Result := ReturnValue;
end;
exports
EnDeCode;
begin
end.