D
dtboyi
Unregistered / Unconfirmed
GUEST, unregistred user!
如果LPT1不是默认打印的话,程序会死掉
Assignfile(F,'lpt1');
Rewrite(F);
writeln(F,'-----------------');
CloseFile(F);
close;
如何能检测lpt1是否为默认打印端口?
Assignfile(F,'lpt1');
Rewrite(F);
writeln(F,'-----------------');
CloseFile(F);
close;
如何能检测lpt1是否为默认打印端口?