Questions tagged [activation-context-api]

The Activation Context API is used to manage the activation context and create version-named objects with manifests. It is part of the standard (ie unmanaged) Windows programming API.

The Activation Context API is used to manage the activation context and create version-named objects with manifests. It is part of the standard (ie unmanaged) Windows programming API. https://learn.microsoft.com/en-us/windows/desktop/sbscs/using-the-activation-context-api

29 questions
2
votes
1 answer

View Windows activation context of a running process?

Is there any method to view the activation context of a running Windows process? Ideally when I say "view" I mean to inspect it in a human-readable way, e.g. to see / confirm what DLLs have been loaded, etc. My imagination is that some kind of…
StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
2
votes
1 answer

Creating an Activation Context with CreateActCtx Win32 API

I am trying to create an activation context using the CreateActCtx Win32 API. There is not a lot of code out there on the internet where this function is used, but I was able to find two blogs that talk about this after a lot of googling and got…
2
votes
0 answers

Decoding activation context error 0xC015000f

I need to identify the root cause of EXCEPTION_CODE: (NTSTATUS) 0xc015000f - The activation context being deactivated is not the most recently activated one. using a user mode post mortem crash dump. Callstack: # ChildEBP RetAddr Args to…
1
vote
1 answer

How to use the concept of activation context in .NET to load unmanaged dlls?

After some help and reading, I am sure the concept activation context can be used to solve my problem. In my application, I have to load an unmanaged dll c.dll by another managed dll b.dll, which is loaded by a.dll, which is loaded by app.exe. The…
Lucas
  • 222
  • 3
  • 9
1
vote
0 answers

Pyzo is not starting on windows 11

I'm having trouble with my new computer. I just get it, with windows 11 and I install Pyzo (with Anaconda) and when i'm starting Pyzo,it's written : "The application has failed to start because the side by side configuration is incorrect Windows…
1
vote
0 answers

using Context Api how to set initial state

I am fetching data from http://127.0.0.1:8000/api/todos receiving array using app level state how should i populate the initial state in Context API ? const initialState={ todos:[] , current:null } …
1
vote
1 answer

How to specify which instance of an already loaded side-by-side assembly to use

I am creating a dll (A.dll), which is isolated (ISOLATION_AWARE_ENABLED), depends on dependency.dll and has a manifest file:
wolff
  • 426
  • 4
  • 11
1
vote
1 answer

Loading unregistered .NET assembly from unmanaged native C++ library within Java application

I am using a Java application that can be extended with custom packages that may include native code, as such I have no control over the Java environment other than the ability to add extension jars. In this instance, I need to be able to call C#…
1
vote
1 answer

Registration-Free COM Interop: Deactivating activation context in finalizer throws SEHException

I am currently working on a mixed managed / native work chain and need to create an activation context for registration-free COM support (see Embed a Registration-Free COM manifest into a C# dll with native/managed environment). The following…
Aurora
  • 1,334
  • 8
  • 21
1
vote
2 answers

AppDomain.ActivationContext is NULL

I have created an AppDomain in my application. Below is the code I have used AppDomainSetup domaininfo = new AppDomainSetup(); domaininfo.ApplicationBase = "C:\\"; AppDomain domain = AppDomain.CreateDomain("MyDomain", null,…
Vimal CK
  • 3,543
  • 1
  • 26
  • 47
0
votes
1 answer

COM Side by Side Assemblies using dll's from another directory?

I'm pretty sure the answer is no but just in case: For a stand alone exe with an appropriate SxS manifest, is it possible to reference COM DLL's using a relative path or load them from a directory that is not the current directory? We're operating…
The Diamond Z
  • 319
  • 3
  • 10
0
votes
0 answers

DeactivateActCtx throws error in Delphi Excel COM add-in

I'm using Delphi and Add-in Express VCL to develop an Excel COM Add-in. To enable theming in my forms, I'm using a manifest and activation contexts, as it's written in David Heffernan's answer here: Apply Windows Theme to Office Com add-in Based on…
Steve
  • 2,510
  • 4
  • 34
  • 53
0
votes
1 answer

Couldn't use Activation Context API from within Excel 2007 Add-in on Windows XP/2003?

I use VS2008 to develop a excel 2007 add-in, within add-in I want to use Activation Context API to instantiate a COM class. The weird thing is I can instantiate the COM class successfully on Window 7, buf fails on Windows XP/2003. Here's the…
Erich
  • 101
  • 1
  • 5
-1
votes
2 answers

Dynamically update context in React Native hook

I am trying to update theme of my react native app using context API but it is throwing an error setThemeMode is not a function. (In 'setThemeMode(themeMode === 'light' ? 'dark': 'light')', 'setThemeMode' is "i") I have taken refernce of following…
1
2