Re: [fpc-pascal] trying to use C code in .pas on WIN32

2019-01-24 Thread Sven Barth via fpc-pascal
Am Fr., 25. Jan. 2019, 01:01 hat Marc Santhoff geschrieben: > On Wed, 2019-01-23 at 14:30 -0700, conlin664 via fpc-pascal wrote: > > I've done research, but am just missing something. > > my .pas code links just fine, but doesn't RUN. > > ( first writeln never appears ) > > If I remove the

Re: [fpc-pascal] trying to use C code in .pas on WIN32

2019-01-24 Thread Marc Santhoff
On Wed, 2019-01-23 at 14:30 -0700, conlin664 via fpc-pascal wrote: > I've done research, but am just missing something. > my .pas code links just fine, but doesn't RUN. > ( first writeln never appears ) > If I remove the external call to C code, then the writeln works as normal. > > Problem: > >

Re: [fpc-pascal] fpc-pascal Digest, Vol 175, Issue 31

2019-01-24 Thread MARCOU Gilles
Hi, I am not sure that I can help, but this is an interesting topic and I am curious if you find a solution. I can only assume that maybe you did not link to gcc and c libraries. Inside Common.pas, you should try to add {$link c} and {$link gcc}. You may check also that the symbol of your