Click here to Skip to main content
15,908,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Writing data to Database from Pure C++ Pin
kilt3-Aug-09 3:31
kilt3-Aug-09 3:31 
AnswerRe: Writing data to Database from Pure C++ Pin
Nemanja Trifunovic3-Aug-09 4:20
Nemanja Trifunovic3-Aug-09 4:20 
QuestionTabbing stop when focus go to Cancel button in MFC Screen Pin
MohammedAyaz Shaikh2-Aug-09 21:07
MohammedAyaz Shaikh2-Aug-09 21:07 
QuestionRe: Tabbing stop when focus go to Cancel button in MFC Screen Pin
David Crow3-Aug-09 3:58
David Crow3-Aug-09 3:58 
Questionhow to fetch excel data Pin
trioum2-Aug-09 21:00
trioum2-Aug-09 21:00 
AnswerRe: how to fetch excel data Pin
CPallini2-Aug-09 21:19
mveCPallini2-Aug-09 21:19 
AnswerRe: how to fetch excel data Pin
David Crow3-Aug-09 4:00
David Crow3-Aug-09 4:00 
QuestionTab order does not work properly in MFC Screen. Pin
MohammedAyaz Shaikh2-Aug-09 20:58
MohammedAyaz Shaikh2-Aug-09 20:58 
AnswerRe: Tab order does not work properly in MFC Screen. Pin
Chandrasekharan P3-Aug-09 1:06
Chandrasekharan P3-Aug-09 1:06 
GeneralRe: Tab order does not work properly in MFC Screen. Pin
MohammedAyaz Shaikh3-Aug-09 1:42
MohammedAyaz Shaikh3-Aug-09 1:42 
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 

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.