S
shine_yzl
Unregistered / Unconfirmed
GUEST, unregistred user!
简单的问题,能够将string 转换 thandle
if DLLHandle1 <> 0 then
begin
@DLLSub := GetProcAddress(DLLHandle1, 'HRB');
if Assigned(DLLSub) then
begin
DLLForm := DLLSub(Application, Screen,FNM2);
end ELSE SHOWMESSAGE('ERROR');
end;
实现
if ?????('DLLHandle1') <> 0 then
begin
@DLLSub := GetProcAddress(?????('DLLHandle1'), 'HRB');
if Assigned(DLLSub) then
begin
DLLForm := DLLSub(Application, Screen,FNM2);
end ELSE SHOWMESSAGE('ERROR');
end;
if DLLHandle1 <> 0 then
begin
@DLLSub := GetProcAddress(DLLHandle1, 'HRB');
if Assigned(DLLSub) then
begin
DLLForm := DLLSub(Application, Screen,FNM2);
end ELSE SHOWMESSAGE('ERROR');
end;
实现
if ?????('DLLHandle1') <> 0 then
begin
@DLLSub := GetProcAddress(?????('DLLHandle1'), 'HRB');
if Assigned(DLLSub) then
begin
DLLForm := DLLSub(Application, Screen,FNM2);
end ELSE SHOWMESSAGE('ERROR');
end;