Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why does Linker has MIDL options, if .idl file is processed before c++ compiling process? Pin
CPallini25-Sep-13 21:34
mveCPallini25-Sep-13 21:34 
GeneralRe: Why does Linker has MIDL options, if .idl file is processed before c++ compiling process? Pin
fb_serwe25-Sep-13 23:52
fb_serwe25-Sep-13 23:52 
GeneralRe: Why does Linker has MIDL options, if .idl file is processed before c++ compiling process? Pin
Richard MacCutchan26-Sep-13 0:31
mveRichard MacCutchan26-Sep-13 0:31 
Questionsoftware update solution Pin
koll Zhu25-Sep-13 17:20
koll Zhu25-Sep-13 17:20 
AnswerRe: software update solution Pin
Richard Andrew x6425-Sep-13 18:21
professionalRichard Andrew x6425-Sep-13 18:21 
GeneralRe: software update solution Pin
koll Zhu25-Sep-13 20:32
koll Zhu25-Sep-13 20:32 
AnswerRe: software update solution Pin
Richard Andrew x6426-Sep-13 2:39
professionalRichard Andrew x6426-Sep-13 2:39 
GeneralRe: software update solution Pin
koll Zhu26-Sep-13 14:48
koll Zhu26-Sep-13 14:48 
AnswerRe: software update solution Pin
Richard Andrew x6426-Sep-13 17:34
professionalRichard Andrew x6426-Sep-13 17:34 
AnswerRe: software update solution Pin
Richard Andrew x6426-Sep-13 11:09
professionalRichard Andrew x6426-Sep-13 11:09 
GeneralRe: software update solution Pin
koll Zhu26-Sep-13 15:06
koll Zhu26-Sep-13 15:06 
Questionwhy gSOAP only require the root CA when accessing HTTPS? Pin
szh12125-Sep-13 17:10
szh12125-Sep-13 17:10 
AnswerRe: why gSOAP only require the root CA when accessing HTTPS? Pin
Richard MacCutchan25-Sep-13 21:39
mveRichard MacCutchan25-Sep-13 21:39 
Questionhow to make this working: srand(time(NULL)); Pin
mrby12325-Sep-13 12:58
mrby12325-Sep-13 12:58 
AnswerRe: how to make this working: srand(time(NULL)); Pin
Richard Andrew x6425-Sep-13 13:12
professionalRichard Andrew x6425-Sep-13 13:12 
QuestionCRegKey read from registry? Pin
bosfan25-Sep-13 6:19
bosfan25-Sep-13 6:19 
AnswerRe: CRegKey read from registry? Pin
Richard Andrew x6425-Sep-13 7:47
professionalRichard Andrew x6425-Sep-13 7:47 
GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 21:46
bosfan25-Sep-13 21:46 
AnswerRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 21:37
mveRichard MacCutchan25-Sep-13 21:37 
As per the notes for the RegQueryValueEx function[^]
Quote:
If the buffer specified by lpData parameter is not large enough to hold the data, the function returns ERROR_MORE_DATA and stores the required buffer size in the variable pointed to by lpcbData. In this case, the contents of the lpData buffer are undefined.
So set your variable bytes to zero and make the call, then when it returns it will contain the required size. You then allocate a buffer of the required size and repeat the call.
Veni, vidi, abiit domum

GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 21:45
bosfan25-Sep-13 21:45 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 22:03
mveRichard MacCutchan25-Sep-13 22:03 
GeneralRe: CRegKey read from registry? Pin
bosfan25-Sep-13 22:32
bosfan25-Sep-13 22:32 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan25-Sep-13 22:45
mveRichard MacCutchan25-Sep-13 22:45 
GeneralRe: CRegKey read from registry? Pin
bosfan26-Sep-13 20:42
bosfan26-Sep-13 20:42 
GeneralRe: CRegKey read from registry? Pin
Richard MacCutchan26-Sep-13 21:30
mveRichard MacCutchan26-Sep-13 21:30 

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.