~
This commit is contained in:
parent
5b402a532e
commit
41ef4c242e
|
|
@ -620,7 +620,7 @@ begin
|
||||||
Th := LoadLibrary(Pchar(trim(DllName)));
|
Th := LoadLibrary(Pchar(trim(DllName)));
|
||||||
if Th > 0 then
|
if Th > 0 then
|
||||||
begin
|
begin
|
||||||
try
|
try
|
||||||
Tp := GetProcAddress(Th, 'CommOpen');
|
Tp := GetProcAddress(Th, 'CommOpen');
|
||||||
if Tp <> nil then
|
if Tp <> nil then
|
||||||
begin
|
begin
|
||||||
|
|
@ -1684,6 +1684,12 @@ begin
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if (strtofloatdef(trim(MJLen.Text), 0) <= 0) then
|
||||||
|
begin
|
||||||
|
application.MessageBox('长度小于零!', '提示信息', 0);
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
if Trim(FAPID) = '' then
|
if Trim(FAPID) = '' then
|
||||||
Exit;
|
Exit;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user