RE: [fpc-pascal] StackTop and StackBottom are bogus in a Win32/64 Dll

2012-07-09 Thread Pierre Free Pascal
ndredi 6 juillet 2012 18:16 > À : fpc-pascal@lists.freepascal.org > Objet : Re: [fpc-pascal] StackTop and StackBottom are bogus in a Win32/64 > Dll > > OBones wrote: > > Hello all, > > > > I'm writing Dlls here and am also doing low level analysis of the

Re: [fpc-pascal] StackTop and StackBottom are bogus in a Win32/64 Dll

2012-07-06 Thread Mark Morgan Lloyd
OBones wrote: Hello all, I'm writing Dlls here and am also doing low level analysis of the stack and its content. To do that, I use the StackTop and StackBottom global variables which used to work fine in an exe file. Problem is, when in a DLL, StackTop is always zero and StackBottom is the e