Re: [fpc-pascal]Porting to Free pascal this little Turbo Pascal code

2004-07-30 Thread Nelson M. Sicuro
I think that you'll need to get rid of the "seg" and "ofs" functions, these are meaningless in 32 bit environment. You only need to store a full 32 bit pointer from ebp/esp on a longint (32 bit integer) variable. But you'll need to rethink some concepts there! The segment register from stack

Re: [fpc-pascal]How to unsubscribe

2004-07-30 Thread Matt Emson
> > Can anybody tell me how I can unsubscribe from this list. Found no > > information on http://www.freepascal.org/maillist.html and > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal/. > > Read the last paragraph of the listinfo page. It clearly says "to unsubscribe" .. Actually... I m

Re: [fpc-pascal]TProcess leaks handles + patch (win32)

2004-07-30 Thread Michael Van Canneyt
On Fri, 30 Jul 2004, Vincent Snijders wrote: > Hi, > > The TProcess component doesn't close the process handle and the thread handle in the > ProcessInformation record, that is created by CreateProcess. In win32 thpse handles > should be closed when you don't need them anymore. > >From MSDN: >

Re: [fpc-pascal]Porting to Free pascal this little Turbo Pascal code

2004-07-30 Thread Nelson M. Sicuro
In my humble experience with FreePascal, I know that you cannot mess with segment registers as you do in 16 bits mode. This code of yours need to be rewrited from scratch to be in 32 bits mode, without using the segment registers and the inline functions (replaced with asm statements). Anyway

Re: [fpc-pascal]How to unsubscribe

2004-07-30 Thread Marco van de Voort
> Can anybody tell me how I can unsubscribe from this list. Found no > information on http://www.freepascal.org/maillist.html and > http://lists.freepascal.org/mailman/listinfo/fpc-pascal/. Read the last paragraph of the listinfo page. It clearly says "to unsubscribe" . ___

[fpc-pascal]Porting to Free pascal this little Turbo Pascal code

2004-07-30 Thread Jérémie LEFRANCOIS
Anybody capable of providing me an answer on how to get this working with Free Pascal (under DOS) ? The trick is that the Base Pointer and Segment Stack are saved and restored. That is what I am trying to do . Note FreePascal only accepts ASM blocks. And also I do not know what instruction $89/

[fpc-pascal]How to unsubscribe

2004-07-30 Thread Peter Huesser
Hello Can anybody tell me how I can unsubscribe from this list. Found no information on http://www.freepascal.org/maillist.html and http://lists.freepascal.org/mailman/listinfo/fpc-pascal/. Pedro ___ fpc-pascal maillist - [EMAIL PROTECTED] http://l

Re: [fpc-pascal]Error running gdbmtest2.pp

2004-07-30 Thread Jérémie LEFRANCOIS
I am not too sure, be I might suggest that instead of moving that test : *** if key.dptr<>Nil then *** before the line : *** SetLength(DatumToString,Key.dsize); *** you could move it *after* that line. Because I understand that in case key.dptr is nil Move(key.dptr^,... is a mistake, but th