Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UDP connection -> outgoing port trouble (still) Pin
Souldrift2-Aug-09 22:22
Souldrift2-Aug-09 22:22 
GeneralRe: UDP connection -> outgoing port trouble (still) Pin
harold aptroot3-Aug-09 0:04
harold aptroot3-Aug-09 0:04 
GeneralRe: UDP connection -> outgoing port trouble (still) Pin
Souldrift3-Aug-09 2:04
Souldrift3-Aug-09 2:04 
QuestionWriting data to Database from Pure C++ Pin
Pardhu_M2-Aug-09 21:25
Pardhu_M2-Aug-09 21:25 
AnswerRe: Writing data to Database from Pure C++ Pin
N a v a n e e t h2-Aug-09 21:56
N a v a n e e t h2-Aug-09 21:56 
AnswerRe: Writing data to Database from Pure C++ Pin
CPallini2-Aug-09 22:03
mveCPallini2-Aug-09 22:03 
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 

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.