Error "extype 7305" when compling COMM sample (2011-03-21 08:44 by Pier Andrea #56316)
Hi,
I've tryed to convert/compile BAS files with Lazarus with good success.
I found a problem converting COMM samples having "CHARACTER INPUT #1: S$" or "LINE INPUT #1: S$" lines of code.
OK sending RS232 strings.
RE: Error "extype 7305" when compling COMM sample (2011-03-21 10:10 by SHIRAISHI Kazuo #56317)
Thanks for testing BASICAcc.
I missed tests about comm samples.
You find
(*
if isCommPortName(FName) then
ptext^:=TCommFile.create
else
*)
at 416 line in BasLib.pas.
Removing (* and *) , and rewrite them as follows.
if isCommPortName(FName) then
ttext:=TCommFile.create
else
Probably this resolves the problem if your environment is Windows.