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

2019-01-28 Thread Jonas Maebe
On 28/01/19 16:19, conlin664 via fpc-pascal wrote: when I don't try and call the C routine the number of unresolved objects is only 213 compiler switches: -TWin32 -va -Mfpc -vw -Sg -Ci -O1 -Cp386 -OpPENTIUM3 -Ratt -gl -p- -b- I had -XS in there, but it doesn't seem to change anything. So I'm

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

2019-01-28 Thread conlin664 via fpc-pascal
Thanks for the suggestions.. I'm pretty sure now, that the problem is that I'm thinking that the C code is being statically linked, but right now the compiler is going for dynamic. [ I've been comparing the size of the .exe ] I also compiled with -va and note: [0.388] Number of unresolved extern