Click here to Skip to main content
15,920,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGet Sharing folders... Pin
mvnevis23-Aug-05 18:13
mvnevis23-Aug-05 18:13 
GeneralWhat's the process of Message Map to a MFC-based Application Programe Pin
shanzy23-Aug-05 18:09
shanzy23-Aug-05 18:09 
GeneralRe: What's the process of Message Map to a MFC-based Application Programe Pin
Christian Graus23-Aug-05 18:34
protectorChristian Graus23-Aug-05 18:34 
GeneralRe: What's the process of Message Map to a MFC-based Application Programe Pin
shanzy23-Aug-05 18:44
shanzy23-Aug-05 18:44 
Generalsharing folder.... Pin
mvnevis23-Aug-05 18:06
mvnevis23-Aug-05 18:06 
Generalupdating global variable using a mutex Pin
elephantstar23-Aug-05 16:51
elephantstar23-Aug-05 16:51 
GeneralRe: updating global variable using a mutex Pin
Rage23-Aug-05 21:53
professionalRage23-Aug-05 21:53 
GeneralRe: updating global variable using a mutex Pin
elephantstar24-Aug-05 7:34
elephantstar24-Aug-05 7:34 
I created a mutex to make sure only one instance of the app in running. The variable that needs to be updated determines whether or not to create the mutex. Right now, that variable is being set to TRUE in the wrapper class. Once it's set to TRUE, CreateProcess is called to run the app within the wrapper function at the same time the main app is also running and reading in the variable that was initially set to FALSE. How would I create an event in InitInstance to run the second thread that will call InitInstance via CreateProcess? I'm just a little confused how all this works. I didn't think about using events or a mutex for synchronizing the variable until I removed my AfxMessageBox code that was used for debugging purposes. I guess it put a delay in the thread causing it to read the desired variable value.
QuestionHow to analyse a string type of CString? Pin
ebinaini23-Aug-05 16:46
ebinaini23-Aug-05 16:46 
AnswerRe: How to analyse a string type of CString? Pin
David Crow23-Aug-05 16:51
David Crow23-Aug-05 16:51 
Questionfile seek failed? Pin
alex.barylski23-Aug-05 11:59
alex.barylski23-Aug-05 11:59 
AnswerRe: file seek failed? Pin
trelliot23-Aug-05 13:05
trelliot23-Aug-05 13:05 
AnswerRe: file seek failed? Pin
Roland Pibinger23-Aug-05 13:20
Roland Pibinger23-Aug-05 13:20 
GeneralSupport for old versions of MFC Pin
mamtz23-Aug-05 11:38
mamtz23-Aug-05 11:38 
GeneralRe: Support for old versions of MFC Pin
Ravi Bhavnani23-Aug-05 14:04
professionalRavi Bhavnani23-Aug-05 14:04 
GeneralUSB question Pin
Tom Wright23-Aug-05 11:19
Tom Wright23-Aug-05 11:19 
GeneralRe: USB question Pin
Alexander M.,23-Aug-05 15:04
Alexander M.,23-Aug-05 15:04 
Generaldouble click on MainFrame Caption Pin
llapanowski23-Aug-05 10:11
llapanowski23-Aug-05 10:11 
GeneralRe: double click on MainFrame Caption Pin
Maximilien23-Aug-05 10:23
Maximilien23-Aug-05 10:23 
GeneralRe: double click on MainFrame Caption Pin
David Crow23-Aug-05 10:27
David Crow23-Aug-05 10:27 
GeneralRe: double click on MainFrame Caption Pin
Ravi Bhavnani23-Aug-05 14:08
professionalRavi Bhavnani23-Aug-05 14:08 
GeneralQ: updating a dialog from within a loop Pin
maladuk23-Aug-05 10:10
maladuk23-Aug-05 10:10 
GeneralRe: Q: updating a dialog from within a loop Pin
David Crow23-Aug-05 10:30
David Crow23-Aug-05 10:30 
GeneralRe: Q: updating a dialog from within a loop Pin
Chris Losinger23-Aug-05 10:45
professionalChris Losinger23-Aug-05 10:45 
GeneralRe: Q: updating a dialog from within a loop Pin
Ravi Bhavnani23-Aug-05 14:09
professionalRavi Bhavnani23-Aug-05 14:09 

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.