
14.10.2005, 16:35
|
|
Новичок
Регистрация: 14.10.2005
Сообщений: 3
Провел на форуме: 1168
Репутация:
0
|
|
ОК А НУ ТИПА NIL//
ХРЕН С НИМ .
function StartCom(mn:integer):integer; export;stdcall;
begin
if Comm321=nil then
begin
if Comm321=nil then begin
Comm321:=TCommPortDriver.create(nil);
end;
comm321.connect;
if (mn=1) and (comm321.connect=true )then
begin
comm321.Connect;
StartCom:=1 end
else
StartCom:=0;
end;
exports
StartCom name 'u';
так вот візіваемая длл нерабоет
|
|
|