Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionre: sending a text message from main thread to a client thread Pin
Alan Kurlansky11-Nov-09 5:07
Alan Kurlansky11-Nov-09 5:07 
QuestionRe: re: sending a text message from main thread to a client thread Pin
David Crow11-Nov-09 5:12
David Crow11-Nov-09 5:12 
AnswerRe: re: sending a text message from main thread to a client thread Pin
Alan Kurlansky11-Nov-09 5:23
Alan Kurlansky11-Nov-09 5:23 
GeneralRe: re: sending a text message from main thread to a client thread Pin
David Crow11-Nov-09 5:27
David Crow11-Nov-09 5:27 
GeneralRe: re: sending a text message from main thread to a client thread Pin
Paulo Zemek11-Nov-09 5:29
Paulo Zemek11-Nov-09 5:29 
GeneralRe: re: sending a text message from main thread to a client thread Pin
Rajesh R Subramanian11-Nov-09 6:57
professionalRajesh R Subramanian11-Nov-09 6:57 
QuestionReading and writing files to the System Directory in Windows Vista using C++, MFC and fopen Pin
D_code_writer11-Nov-09 4:20
D_code_writer11-Nov-09 4:20 
AnswerRe: Reading and writing files to the System Directory in Windows Vista using C++, MFC and fopen Pin
David Crow11-Nov-09 4:36
David Crow11-Nov-09 4:36 
Danny Nowlan wrote:
These techniques work like a charm on my projects that I programmed using Visual C++ v6.0.


The problem has nothing to do with VS6.

Your program should not be writing/crearing files in the \Windows\System32 folder. That folder has been off limits for years, but since it has not been enforced, folks have continued to abuse it. Use SHGetFolderPath() to get the path of a folder that you can write to. For example, CSIDL_COMMON_APPDATA, CSIDL_LOCAL_APPDATA, CSIDL_COMMON_DOCUMENTS, CSIDL_PERSONAL.

"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


AnswerRe: Reading and writing files to the System Directory in Windows Vista using C++, MFC and fopen Pin
Covean11-Nov-09 4:38
Covean11-Nov-09 4:38 
AnswerRe: Reading and writing files to the System Directory in Windows Vista using C++, MFC and fopen Pin
Rolf Kristensen11-Nov-09 9:19
Rolf Kristensen11-Nov-09 9:19 
GeneralRe: Reading and writing files to the System Directory in Windows Vista using C++, MFC and fopen Pin
D_code_writer11-Nov-09 22:56
D_code_writer11-Nov-09 22:56 
GeneralRe: Reading and writing files to the System Directory in Windows Vista using C++, MFC and fopen [modified] Pin
Rolf Kristensen11-Nov-09 23:10
Rolf Kristensen11-Nov-09 23:10 
QuestionCFileDialog creates problem under unicode standard Pin
m_mun11-Nov-09 4:20
m_mun11-Nov-09 4:20 
QuestionRe: CFileDialog creates problem under unicode standard Pin
David Crow11-Nov-09 4:28
David Crow11-Nov-09 4:28 
AnswerRe: CFileDialog creates problem under unicode standard Pin
m_mun11-Nov-09 4:30
m_mun11-Nov-09 4:30 
GeneralRe: CFileDialog creates problem under unicode standard Pin
David Crow11-Nov-09 4:32
David Crow11-Nov-09 4:32 
GeneralRe: CFileDialog creates problem under unicode standard [modified] Pin
m_mun11-Nov-09 4:34
m_mun11-Nov-09 4:34 
QuestionRe: CFileDialog creates problem under unicode standard Pin
David Crow11-Nov-09 4:42
David Crow11-Nov-09 4:42 
AnswerRe: CFileDialog creates problem under unicode standard Pin
m_mun11-Nov-09 4:46
m_mun11-Nov-09 4:46 
AnswerRe: CFileDialog creates problem under unicode standard Pin
m_mun11-Nov-09 4:55
m_mun11-Nov-09 4:55 
GeneralRe: CFileDialog creates problem under unicode standard Pin
David Crow11-Nov-09 5:14
David Crow11-Nov-09 5:14 
QuestionCreating a expert system and need some help please Pin
akshay174111-Nov-09 4:19
akshay174111-Nov-09 4:19 
AnswerRe: Creating a expert system and need some help please Pin
Richard MacCutchan11-Nov-09 7:48
mveRichard MacCutchan11-Nov-09 7:48 
AnswerRe: Creating a expert system and need some help please Pin
Maximilien11-Nov-09 9:44
Maximilien11-Nov-09 9:44 
QuestionIntercepting the TerminateProcess event Pin
Krischu11-Nov-09 4:09
Krischu11-Nov-09 4: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.