Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Making a Thread wait and not exit after the controlling function exits Pin
David Crow7-Oct-09 3:21
David Crow7-Oct-09 3:21 
AnswerRe: Making a Thread wait and not exit after the controlling function exits Pin
Rajesh R Subramanian7-Oct-09 3:24
professionalRajesh R Subramanian7-Oct-09 3:24 
GeneralRe: Making a Thread wait and not exit after the controlling function exits Pin
Hari_168-Oct-09 18:28
Hari_168-Oct-09 18:28 
AnswerRe: Making a Thread wait and not exit after the controlling function exits Pin
Rajesh R Subramanian8-Oct-09 19:44
professionalRajesh R Subramanian8-Oct-09 19:44 
QuestionReg Database Pin
thangvel6-Oct-09 21:26
thangvel6-Oct-09 21:26 
QuestionCString + OPENFILENAME Pin
raviteja20206-Oct-09 21:18
raviteja20206-Oct-09 21:18 
AnswerRe: CString + OPENFILENAME Pin
CPallini6-Oct-09 21:25
mveCPallini6-Oct-09 21:25 
GeneralRe: CString + OPENFILENAME Pin
raviteja20206-Oct-09 22:46
raviteja20206-Oct-09 22:46 
CPallini wrote:

raviteja2020 wrote:
In this project I use a variable in OnFileSave As Dlg as OPENFILENAME type.

What does it mean, exactly?

I used a variable named m_imgName in the OnFileSaveAs() Dialog. the variable is of type OPENFILENAME.

CPallini wrote:

raviteja2020 wrote:
But, I have already used the same variable during file open dialog as a CString type.

You...What?

I have used same variable name in another dialog OnFileOpen(). In this dialog the variable is of type CString.

Now the problem is, I would like to declare a public variable so that it can do the work of both the variable types.
So I need a variable type as a combination of CString and OPENFILENAME.
QuestionRe: CString + OPENFILENAME Pin
CPallini6-Oct-09 22:51
mveCPallini6-Oct-09 22:51 
AnswerRe: CString + OPENFILENAME Pin
raviteja20206-Oct-09 23:03
raviteja20206-Oct-09 23:03 
GeneralRe: CString + OPENFILENAME Pin
Richard MacCutchan6-Oct-09 23:19
mveRichard MacCutchan6-Oct-09 23:19 
GeneralRe: CString + OPENFILENAME Pin
CPallini6-Oct-09 23:29
mveCPallini6-Oct-09 23:29 
AnswerRe: CString + OPENFILENAME Pin
Stuart Dootson6-Oct-09 21:28
professionalStuart Dootson6-Oct-09 21:28 
AnswerRe: CString + OPENFILENAME Pin
KarstenK6-Oct-09 21:52
mveKarstenK6-Oct-09 21:52 
AnswerRe: CString + OPENFILENAME Pin
David Crow7-Oct-09 3:33
David Crow7-Oct-09 3:33 
QuestionUsage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
ratprita6-Oct-09 20:33
ratprita6-Oct-09 20:33 
AnswerRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
Michael Schubert6-Oct-09 20:41
Michael Schubert6-Oct-09 20:41 
AnswerRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
goonyangxiaofang6-Oct-09 20:41
goonyangxiaofang6-Oct-09 20:41 
GeneralRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
ratprita6-Oct-09 21:22
ratprita6-Oct-09 21:22 
GeneralRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
CPallini6-Oct-09 21:25
mveCPallini6-Oct-09 21:25 
GeneralRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
Richard MacCutchan6-Oct-09 23:22
mveRichard MacCutchan6-Oct-09 23:22 
AnswerRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
CPallini6-Oct-09 21:20
mveCPallini6-Oct-09 21:20 
AnswerRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
KarstenK6-Oct-09 21:55
mveKarstenK6-Oct-09 21:55 
AnswerRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
Rajesh R Subramanian6-Oct-09 22:03
professionalRajesh R Subramanian6-Oct-09 22:03 
AnswerRe: Usage of Win32APIs CreateFile(),WriteFile() and ReadFile() Pin
wangningyu6-Oct-09 22:34
wangningyu6-Oct-09 22:34 

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.