From: Jared M. <abs...@gm...> - 2012-03-15 02:50:19
|
> Date: Mon, 12 Mar 2012 16:33:38 +0000 > From: Greg Chicares <gch...@sb...> > Subject: Re: [Mingw-users] AddVectoredExceptionHandler was not > declared in this scope > To: min...@li... > Message-ID: <4F5...@sb...> > Content-Type: text/plain; charset=ISO-8859-1 > > On 2012-03-12 15:43Z, Mike Jones! wrote: >> >> I'm trying to use VEH with g++ on Windows XP (x86). MinGW is properly >> installed, and other programs compile fine, however I cannot use the >> AddVectoredExceptionHandler API. > > AFAIK, MinGW doesn't support ms-specific exception handling, > though I've heard that the people at > http://mingw-w64.sourceforge.net/ > are working on it. > >From what I've read, VEH/SEH is specifically a Windows NT OS mechanism. I wouldn't be surprised if there's bugs in some cases when attempting to use the system within GCC, but it should still be possible to at least make limited use of them from within GCC (not that I would. I was hoping to find an OS hook that would let me implement user-level preemption, for a personal OS experiment). |