Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread waldo kitty
On 2/19/2014 8:30 PM, Paul Breneman wrote: On 02/19/2014 03:06 PM, waldo kitty wrote: ... any help is appreciated and thanks for reading this quite possibly rambling post emanating from my scrambled brain cells... FPC DOS is pretty easy for a console program, but it is 32-bit (whereas DOS is

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Paul Breneman
On 02/20/2014 12:51 PM, waldo kitty wrote: On 2/19/2014 8:30 PM, Paul Breneman wrote: On 02/19/2014 03:06 PM, waldo kitty wrote: ... any help is appreciated and thanks for reading this quite possibly rambling post emanating from my scrambled brain cells... FPC DOS is pretty easy for a

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Sven Barth
On 20.02.2014 02:49, waldo kitty wrote: even if you do, trunk with the plain 16-bit msdos support might still do it for you). i've pulled DOS262 with the GO memory extender but have not yet installed it on the system due to other questions not yet posed... i'm not sure what trunk with 16 bit

Re: [fpc-pascal] updating an old DOS tool using PChar strings

2014-02-20 Thread Paul Breneman
On 02/20/2014 01:43 PM, Sven Barth wrote: On 20.02.2014 02:49, waldo kitty wrote: even if you do, trunk with the plain 16-bit msdos support might still do it for you). i've pulled DOS262 with the GO memory extender but have not yet installed it on the system due to other questions not yet

[fpc-pascal] Invalid standard handles in Windows service mode?

2014-02-20 Thread MegaBrutal
Hi all, I have a Windows service application, and recently I noticed it doesn't work if I compile it with FPC 2.6.2. It can be started in user mode too, and in that case I didn't find any problem - at first I was really puzzled what might be the reason. With some cumbersome debugging, I found the