Lionel Ulmer wrote: > > What about this instead of the last three lines: > > > > print "\taddl $" #argsize ", %esp\n"; > > print "\tret\n"; > > I did that and it does not solve the problem : it crashes at the same > GL call (glGetString) but this time at address 0x00000000 and not > 0x00001F00 as before. > > How can I help debugging this further (except by looking at an x86 ASM > book :-) ) ? Hmm. Could you send me a disassembly of the thunk as it is actually generated? Also helpful would be to get a stack dump at the point when the thunk is initially called, and another one at the point the called real glGetString routine has returned ... Bye, Ulrich -- Dr. Ulrich Weigand [EMAIL PROTECTED]
- Automatic CDECL / STDCALL translation Lionel Ulmer
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- Re: Automatic CDECL / STDCALL translation Lionel Ulmer
- Re: Automatic CDECL / STDCALL translation Andreas Mohr
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- Re: Automatic CDECL / STDCALL translation Lionel Ulmer
- Re: Automatic CDECL / STDCALL translation Ulrich Weigand
- Re: Automatic CDECL / STDCALL translation Lionel Ulmer
- Re: Automatic CDECL / STDCALL translatio... James Sutherland
- Re: Automatic CDECL / STDCALL translatio... Ulrich Weigand
- Re: Automatic CDECL / STDCALL trans... Lionel Ulmer
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- Re: Automatic CDECL / STDCALL translation Lionel Ulmer
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- RE: Automatic CDECL / STDCALL translation Patrik Stridvall
- Re: Automatic CDECL / STDCALL translation Ulrich Weigand