Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to check the NULL iterator? Pin
Aescleal8-Aug-10 22:22
Aescleal8-Aug-10 22:22 
QuestionwaveOutOpen returning no message?? Pin
AmbiguousName8-Aug-10 2:45
AmbiguousName8-Aug-10 2:45 
AnswerRe: waveOutOpen returning no message?? Pin
Richard MacCutchan8-Aug-10 2:54
mveRichard MacCutchan8-Aug-10 2:54 
GeneralRe: waveOutOpen returning no message?? Pin
AmbiguousName8-Aug-10 4:30
AmbiguousName8-Aug-10 4:30 
GeneralRe: waveOutOpen returning no message?? Pin
Luc Pattyn8-Aug-10 4:58
sitebuilderLuc Pattyn8-Aug-10 4:58 
GeneralRe: waveOutOpen returning no message?? Pin
Richard MacCutchan8-Aug-10 5:31
mveRichard MacCutchan8-Aug-10 5:31 
QuestionAvoiding Resource Conflicts in MFC Extension DLLs Pin
softwaremonkey7-Aug-10 21:07
softwaremonkey7-Aug-10 21:07 
AnswerRe: Avoiding Resource Conflicts in MFC Extension DLLs Pin
Niklas L7-Aug-10 22:27
Niklas L7-Aug-10 22:27 
I've been using AfxSetResourceHandle() for that. Call once before accessing a resource, and use it afterwards to reset the handle. Of course you will have to know what dll contains your resource. Depending on your architecture, this can be really simple, or close to impossible Poke tongue | ;-P On way to solve some of these problems is to have factory functions exported from the dll for creating dialogs and such.

Inside each dll this is not a problem if you are using the AFXMANAGESTATE (?) macro which I assume you are doing, and you are not accessing resources in other dll's.

GeneralRe: Avoiding Resource Conflicts in MFC Extension DLLs Pin
softwaremonkey8-Aug-10 4:21
softwaremonkey8-Aug-10 4:21 
QuestionError :: C1061 compiler limit : blocks nested too deeply Pin
Le@rner6-Aug-10 22:31
Le@rner6-Aug-10 22:31 
AnswerRe: Error :: C1061 compiler limit : blocks nested too deeply Pin
Code-o-mat6-Aug-10 22:52
Code-o-mat6-Aug-10 22:52 
GeneralRe: Error :: C1061 compiler limit : blocks nested too deeply Pin
Le@rner6-Aug-10 23:23
Le@rner6-Aug-10 23:23 
GeneralRe: Error :: C1061 compiler limit : blocks nested too deeply [modified] Pin
Richard MacCutchan7-Aug-10 2:39
mveRichard MacCutchan7-Aug-10 2:39 
GeneralRe: Error :: C1061 compiler limit : blocks nested too deeply Pin
MuraliKrishnaP7-Aug-10 3:07
MuraliKrishnaP7-Aug-10 3:07 
AnswerRe: Error :: C1061 compiler limit : blocks nested too deeply Pin
Luc Pattyn7-Aug-10 11:02
sitebuilderLuc Pattyn7-Aug-10 11:02 
GeneralRe: Error :: C1061 compiler limit : blocks nested too deeply Pin
David Crow7-Aug-10 15:58
David Crow7-Aug-10 15:58 
AnswerRe: Error :: C1061 compiler limit : blocks nested too deeply Pin
Moak6-Aug-10 23:14
Moak6-Aug-10 23:14 
QuestionConnectEx fails Pin
followait6-Aug-10 14:25
followait6-Aug-10 14:25 
AnswerRe: ConnectEx fails Pin
Richard Andrew x646-Aug-10 15:06
professionalRichard Andrew x646-Aug-10 15:06 
GeneralRe: ConnectEx fails Pin
followait6-Aug-10 16:09
followait6-Aug-10 16:09 
GeneralRe: ConnectEx fails Pin
Richard MacCutchan6-Aug-10 21:49
mveRichard MacCutchan6-Aug-10 21:49 
GeneralRe: ConnectEx fails Pin
followait7-Aug-10 2:16
followait7-Aug-10 2:16 
GeneralRe: ConnectEx fails Pin
Richard MacCutchan7-Aug-10 2:24
mveRichard MacCutchan7-Aug-10 2:24 
GeneralRe: ConnectEx fails Pin
followait7-Aug-10 4:28
followait7-Aug-10 4:28 
GeneralRe: ConnectEx fails Pin
Richard MacCutchan7-Aug-10 5:35
mveRichard MacCutchan7-Aug-10 5:35 

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.