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
> > 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
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:
>
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
> 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" .
___
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/
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
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