Click here to Skip to main content
15,887,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tab order does not work properly in MFC Screen. Pin
Chandrasekharan P3-Aug-09 1:54
Chandrasekharan P3-Aug-09 1:54 
GeneralRe: Tab order does not work properly in MFC Screen. Pin
MohammedAyaz Shaikh3-Aug-09 2:27
MohammedAyaz Shaikh3-Aug-09 2:27 
Question[Message Deleted] Pin
sarita_2162-Aug-09 19:35
sarita_2162-Aug-09 19:35 
GeneralRe: conversion of c code in vc++ Pin
Chandrasekharan P2-Aug-09 19:49
Chandrasekharan P2-Aug-09 19:49 
Question0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
xiaolin.lan2-Aug-09 16:10
xiaolin.lan2-Aug-09 16:10 
AnswerRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Randor 3-Aug-09 15:45
professional Randor 3-Aug-09 15:45 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Dave Calkins23-Nov-09 9:45
Dave Calkins23-Nov-09 9:45 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Randor 24-Nov-09 0:01
professional Randor 24-Nov-09 0:01 
Hi Dave Calkins,

The 0xC015000F activation context error I experienced was easily avoided by adding the following line into my InitInstance() function.

afxAmbientActCtx = FALSE;

I did a bit of research into the subject and discovered that this boolean enables or disables the MFC internal SxS Activation Context[^] switching.

By setting this boolean to false your MFC application Module State Management[^] will not use the Activation Context[^] technologies. Essentially your MFC state management will work about as good as it did in older MFC versions.

Setting the boolean to false will not directly cause any problems. But unfortunately your MFC application loses benefits from SxS. This may or may not be a problem depending on whether your application uses multiple versions of the same library.

Welcome to DLL Hell[^]. Smile | :)

Best Wishes,
-David Delaune
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
sumitkulkarni2321-Jan-10 22:20
professionalsumitkulkarni2321-Jan-10 22:20 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Albert van Peppen6-Jun-11 2:37
professionalAlbert van Peppen6-Jun-11 2:37 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
huvarmar17-Jun-11 4:28
huvarmar17-Jun-11 4:28 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Jörgen Sigvardsson9-Sep-10 0:21
Jörgen Sigvardsson9-Sep-10 0:21 
GeneralRe: 0xC015000F: The activation context being deactivated is not the most recently activated one. Pin
Randor 9-Sep-10 3:58
professional Randor 9-Sep-10 3:58 
QuestionDDX_CONTROL Stack Overflow Pin
ForNow2-Aug-09 12:12
ForNow2-Aug-09 12:12 
AnswerRe: DDX_CONTROL Stack Overflow Pin
manchukuo2-Aug-09 19:42
manchukuo2-Aug-09 19:42 
GeneralRe: DDX_CONTROL Stack Overflow Pin
ForNow2-Aug-09 20:26
ForNow2-Aug-09 20:26 
QuestionMFC Application class Pin
msr_codeproject2-Aug-09 8:21
msr_codeproject2-Aug-09 8:21 
AnswerRe: MFC Application class Pin
CPallini2-Aug-09 12:49
mveCPallini2-Aug-09 12:49 
AnswerRe: MFC Application class Pin
«_Superman_»2-Aug-09 16:32
professional«_Superman_»2-Aug-09 16:32 
GeneralRe: MFC Application class Pin
msr_codeproject2-Aug-09 19:07
msr_codeproject2-Aug-09 19:07 
Questionhow to give "transaction effect" in case of jpg,gif and so on. Pin
rambojanggoon1-Aug-09 23:00
rambojanggoon1-Aug-09 23:00 
AnswerRe: how to give "transaction effect" in case of jpg,gif and so on. Pin
Bacon Ultimate Cheeseburger2-Aug-09 0:53
Bacon Ultimate Cheeseburger2-Aug-09 0:53 
GeneralOT Pin
CPallini2-Aug-09 12:53
mveCPallini2-Aug-09 12:53 
QuestionOnDraw vs OnPaint Pin
msr_codeproject1-Aug-09 18:09
msr_codeproject1-Aug-09 18:09 
AnswerRe: OnDraw vs OnPaint Pin
«_Superman_»1-Aug-09 19:06
professional«_Superman_»1-Aug-09 19:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.