A
abc516
Unregistered / Unconfirmed
GUEST, unregistred user!
我在DLL里的声明:
procedure comm_start(receiveland:array of string); STDCALL;
var
i:integer;
begin
for i:=0 to 10 do
begin
receiveland:='aaaaaaaaaaaa';
end;
end;
我在EXE里的声明调用:
procedure comm_start(receive:array of string); stdcall; external 'land.dll';
procedure TForm1.Button1Click(Sender: TObject);
var
receive1:array[0..10000] of string ;
begin
for i:=0 to 10 do
begin
memo1.Lines.Add('编号:'+trim(receive1));
end;
end;
怎么什么也没有呀。只是十一个《编号:》
如果这样传出来了,那么VB,VC,JAVA.PB.....是不是可以正常调用?
procedure comm_start(receiveland:array of string); STDCALL;
var
i:integer;
begin
for i:=0 to 10 do
begin
receiveland:='aaaaaaaaaaaa';
end;
end;
我在EXE里的声明调用:
procedure comm_start(receive:array of string); stdcall; external 'land.dll';
procedure TForm1.Button1Click(Sender: TObject);
var
receive1:array[0..10000] of string ;
begin
for i:=0 to 10 do
begin
memo1.Lines.Add('编号:'+trim(receive1));
end;
end;
怎么什么也没有呀。只是十一个《编号:》
如果这样传出来了,那么VB,VC,JAVA.PB.....是不是可以正常调用?