Quentin <IHateSpam@spamsux.com> wrote: > Does anyone have any ideas as to why my application always crashes on calls > to "kernel32.GetCurrentThreadId()"? > Every time I call GCTID I get: > - a call to UnhandledExceptionFilter() > - producing an "Unhanded privileged instruction at address 0x40112584" > message box (which I've never seen popup, I only know it happens because I'm > reading the --debugmsg +relay output.) > Any ideas? winedbg, then "disas 0x40112584". That might help a bit. Or maybe better start the app via winedbg in the first place. -- Andreas Mohr, Renningen, Germany In case you need to contact me after expiry of temporary email address: my eternal (hopefully) email address is frqr2001 at the domain sneakemail.com