ISOLATION_AWARE_ENABLED

Started by czerny, December 08, 2014, 02:01:00 PM

Previous topic - Next topic

czerny

I have a resource
ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID RT_MANIFEST "res2.xml"
and I have defined
#define ISOLATION_AWARE_ENABLED 1

I get the error
winuser.h(5834): fatal error #1014: #error: Isolation aware inline functions not supported.

So I have two questions:

Are RT_MANIFEST resources supported at all by Pelles C?
Is there a workaround?

aardvajk

All the Isolation functions do is essentially:
if(NotCreatedActCtx)
{
   hActCtx = Create activation context from your manifest
   NotCreatedActCtx = FALSE;
}

ActivateActCtx(hActCtx, &cookie)
(The function you were wanting to call, like CreateWindow or whatever)
DeactivateActCtx(0, cookie)

anosh123

Just a question -> how do you hide a menu item (easily?) and make it reappear? The menu is done by using a menu resource.
I'm trying to make a simple recent file list, so it hides recent files that don't exist/ and haven't been made?