Click here to Skip to main content
15,922,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Load bitmap from a file Pin
Jose Lamas Rios9-Aug-05 9:36
Jose Lamas Rios9-Aug-05 9:36 
GeneralRe: Load bitmap from a file Pin
mpastchenko9-Aug-05 12:09
mpastchenko9-Aug-05 12:09 
GeneralRe: Load bitmap from a file Pin
PJ Arends9-Aug-05 12:06
professionalPJ Arends9-Aug-05 12:06 
GeneralRe: Load bitmap from a file Pin
mpastchenko9-Aug-05 13:04
mpastchenko9-Aug-05 13:04 
GeneralRe: Load bitmap from a file Pin
Christian Graus9-Aug-05 13:45
protectorChristian Graus9-Aug-05 13:45 
GeneralRe: Load bitmap from a file Pin
PJ Arends9-Aug-05 15:25
professionalPJ Arends9-Aug-05 15:25 
Generalnon-admin logins prevent program execution Pin
elephantstar9-Aug-05 7:40
elephantstar9-Aug-05 7:40 
GeneralRe: non-admin logins prevent program execution Pin
David Crow9-Aug-05 7:58
David Crow9-Aug-05 7:58 
elephantstar wrote:
bRetVal = regKey.Open(HKEY_LOCAL_MACHINE ,(LPCTSTR)strTmp, KEY_READ);

Does this mean that the default security access of KEY_ALL_ACCESS works?

elephantstar wrote:
BOOL bRetVal;
...
if (bRetVal==ERROR_SUCCESS)


At this point, bRetVal has not been assigned a value.

elephantstar wrote:
bRetVal=regKey.QueryValue( getValue , (LPCTSTR)key , &d);

You can't call QueryValue() without having first called Open().

elephantstar wrote:
CString keyValue = (CString)getValue;

Why the unnecessary cast?

Use of the <pre> tag will make your code much easier to read.


"One must learn from the bite of the fire to leave it alone." - Native American Proverb


QuestionPlease enter the path for vc60.pdb?? Pin
valerie999-Aug-05 7:33
valerie999-Aug-05 7:33 
AnswerRe: Please enter the path for vc60.pdb?? Pin
David Crow9-Aug-05 7:44
David Crow9-Aug-05 7:44 
GeneralRe: Please enter the path for vc60.pdb?? Pin
valerie999-Aug-05 7:57
valerie999-Aug-05 7:57 
GeneralRe: Please enter the path for vc60.pdb?? Pin
David Crow9-Aug-05 8:00
David Crow9-Aug-05 8:00 
GeneralRe: Please enter the path for vc60.pdb?? Pin
valerie999-Aug-05 8:11
valerie999-Aug-05 8:11 
GeneralProblem with bitmaps in XP Pin
djr_apd9-Aug-05 6:17
djr_apd9-Aug-05 6:17 
GeneralCButton disable/focus conundrum Pin
23_4449-Aug-05 6:09
23_4449-Aug-05 6:09 
GeneralRe: CButton disable/focus conundrum Pin
Ravi Bhavnani9-Aug-05 6:54
professionalRavi Bhavnani9-Aug-05 6:54 
GeneralRe: CButton disable/focus conundrum Pin
Blake Miller9-Aug-05 7:29
Blake Miller9-Aug-05 7:29 
GeneralRe: CButton disable/focus conundrum Pin
23_4449-Aug-05 7:33
23_4449-Aug-05 7:33 
GeneralRe: CButton disable/focus conundrum Pin
David Crow9-Aug-05 8:15
David Crow9-Aug-05 8:15 
GeneralRe: CButton disable/focus conundrum Pin
23_4449-Aug-05 8:23
23_4449-Aug-05 8:23 
GeneralRe: CButton disable/focus conundrum Pin
David Crow9-Aug-05 8:28
David Crow9-Aug-05 8:28 
GeneralRe: CButton disable/focus conundrum Pin
23_4449-Aug-05 8:55
23_4449-Aug-05 8:55 
GeneralRe: CButton disable/focus conundrum Pin
23_44410-Aug-05 7:46
23_44410-Aug-05 7:46 
GeneralRe: CButton disable/focus conundrum Pin
Blake Miller12-Aug-05 5:07
Blake Miller12-Aug-05 5:07 
Generalunwanted character on stringstream Pin
gecool9-Aug-05 4:36
gecool9-Aug-05 4:36 

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.