🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12149

Re: GetThreadContext returns invalid values

#12149
From: madshi
Date: Sun, 24 Nov 2002 21:25
21 lines
1685 bytes
> What I wrote was simply a sentence from the online help.

I know. But never trust the documentation...   :-)

> However, I can't see any sense in getting the context of the current
> thread.

Right, that really doesn't make much sense.

But in some special situations it might make sense to get the context of 
another running thread without first suspending it. In the moment where 
you look at the resulting Context structure it will probably be already 
outdated, but apart from that it works - and sometimes it does make 
sense this way...

-- 
www.madshi.net
quality low level Delphi components
extended exception handling
API hooking, DLL injection
undocumented functionality
Technical Details
Message-ID: <MPG.184b622ee2619a8b9896e1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3ddfb320@newsgroups.borland.com> <3ddfd619@newsgroups.borland.com> <MPG.184a09c131efd1c69896e0@newsgroups.borland.com> <3de13c02@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,334d5eef68190214
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-24 14:15:38 PST
From: madshi (Mathias Rauen) <borland@madshi.net>
Newsgroups: borland.public.delphi.nativeapi
Subject: Re: GetThreadContext returns invalid values
Date: Sun, 24 Nov 2002 22:25:22 +0100
Message-ID: <MPG.184b622ee2619a8b9896e1@newsgroups.borland.com>
References: <3ddfb320@newsgroups.borland.com> <3ddfd619@newsgroups.borland.com> <MPG.184a09c131efd1c69896e0@newsgroups.borland.com> <3de13c02@newsgroups.borland.com>
Organization: www.madshi.net
X-Newsreader: MicroPlanet Gravity v2.50
NNTP-Posting-Host: 217.226.221.128
X-Trace: newsgroups.borland.com 1038173041 217.226.221.128 (24 Nov 2002 13:24:01 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail