Re: [fpc-pascal] Distributing unit object files

2011-12-15 Thread Jonas Maebe
On 15 Dec 2011, at 16:19, Andrew Brunner wrote: project has the source to. And FPC is looking to recompile the compiled object file because a CRC has changed for a contributing unit that was used when the unit object file was created. How do I make FPC not rebuild the unit object file when co

Re: [fpc-pascal] How to poll for a byte in Input?

2011-12-15 Thread Martin Schreiber
On 12/15/2011 03:31 PM, tcoq wrote: > I obviously failed somewhere. I did try FILE_FLAG_OVERLAPPED and everything > attached to it, but the input is already opened, so i get an error. IIRC I experienced the same with pipes on windows. So I used threads which works on win95+. Martin

[fpc-pascal] Distributing unit object files

2011-12-15 Thread Andrew Brunner
I'm needing to figure out how best to "close" or "seal" units so that I can use the compiled unit object files instead of the actual unit files. The problem is that the compiled unit files call a few units that the project has the source to. And FPC is looking to recompile the compiled object fil

Re: [fpc-pascal] How to poll for a byte in Input?

2011-12-15 Thread tcoq
thank you Martin, I obviously failed somewhere. I did try FILE_FLAG_OVERLAPPED and everything attached to it, but the input is already opened, so i get an error. I'll try somewhat later when real life gives me a new break. Off for now. Thierry - Mail Original - De: "Martin Schreiber" À: f