NO

Author Topic: ISOLATION_AWARE_ENABLED  (Read 4518 times)

czerny

  • Guest
ISOLATION_AWARE_ENABLED
« on: December 08, 2014, 02:01:00 PM »
I have a resource
Code: [Select]
ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID RT_MANIFEST "res2.xml"and I have defined
Code: [Select]
#define ISOLATION_AWARE_ENABLED 1
I get the error
Code: [Select]
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

  • Guest
Re: ISOLATION_AWARE_ENABLED
« Reply #1 on: December 10, 2014, 04:34:45 AM »
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

  • Guest
Re: ISOLATION_AWARE_ENABLED
« Reply #2 on: March 30, 2015, 10:38:08 AM »
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?