[fpc-pascal]Re: A questions about delphi and pascal

Ramom Flores d'as Seixas fa2ramon at usc.es
Mon Apr 28 20:22:30 CEST 2003

Florian Klaempfl wrote:

>    I would like to write mex[1] files in pascal, so I would like to adapt
> the DelphiMex[2] library from delphi to pascal. But I don't know Delphi, so
> I would thanks if somebody can help me. At this moment I have the following
> dude, in the cited library the autor wrote the following procedure:
> 692 procedure DelphiMexInitIO;
> 693   begin
> 694     with TTextRec(Output) do

Which compiler and os do you use? 
fpc 1.0.6 in linux.

Did you try with systuils.TTextRec(Output) do in line 694?

I had not. But it works. 

Now I manage to crash matlab with a segmentation fault.
I am continuing my investigation.



More information about the fpc-pascal mailing list