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

C / C++ / MFC

 
AnswerRe: Call MFC regular dll from other app Pin
leon de boer18-Aug-14 5:28
leon de boer18-Aug-14 5:28 
QuestionHow manage the lose focus from CListCtrl Control Pin
Drakesal16-Aug-14 20:45
Drakesal16-Aug-14 20:45 
AnswerRe: How manage the lose focus from CListCtrl Control Pin
SoMad16-Aug-14 21:10
professionalSoMad16-Aug-14 21:10 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
Drakesal16-Aug-14 21:12
Drakesal16-Aug-14 21:12 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
SoMad16-Aug-14 21:57
professionalSoMad16-Aug-14 21:57 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
Drakesal16-Aug-14 22:24
Drakesal16-Aug-14 22:24 
GeneralRe: How manage the lose focus from CListCtrl Control Pin
SoMad16-Aug-14 23:07
professionalSoMad16-Aug-14 23:07 
QuestionCan't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 9:45
Daniel 'Tak' M.16-Aug-14 9:45 
Hi everyone,

I am currently trying to read the following registry key in one of my programs:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultUserName

I need to find out whether automatic logon is enabled on a machine or not, and reading whether above setting is empty or not seems to be the best way to do this. However, querying the value simple returns an empty string (though it definitely isn't empty); the code is working, as it works fine with other keys. So I guess that my program, for whatever reason, cannot access the Winlogon keys (other keys also don't work).

Is there any workaround for this? Or any other way to find out if autologon is enabled? Hope anyone can shed some light on this, as it is driving me nuts right now Mad | :mad:

I couldn't really find a better forum for this question; at least the program is written in C++, so... Wink | ;)
http://www.renderpal.com
http://www.shoran.de

AnswerRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:06
professionalRichard Andrew x6416-Aug-14 10:06 
GeneralRe: Can't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 10:10
Daniel 'Tak' M.16-Aug-14 10:10 
AnswerRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:18
professionalRichard Andrew x6416-Aug-14 10:18 
GeneralRe: Can't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 10:31
Daniel 'Tak' M.16-Aug-14 10:31 
AnswerRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:37
professionalRichard Andrew x6416-Aug-14 10:37 
GeneralRe: Can't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 10:42
Daniel 'Tak' M.16-Aug-14 10:42 
GeneralRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:47
professionalRichard Andrew x6416-Aug-14 10:47 
GeneralRe: Can't read certain registry keys Pin
Daniel 'Tak' M.16-Aug-14 10:49
Daniel 'Tak' M.16-Aug-14 10:49 
GeneralRe: Can't read certain registry keys Pin
Richard Andrew x6416-Aug-14 10:52
professionalRichard Andrew x6416-Aug-14 10:52 
QuestionUsing MFC Dev Studio 97 with VC++ 5.0 in Win7 Pin
Bram van Kampen15-Aug-14 14:09
Bram van Kampen15-Aug-14 14:09 
QuestionParsing in C/C++ Pin
Member 1012503214-Aug-14 16:57
Member 1012503214-Aug-14 16:57 
AnswerRe: Parsing in C/C++ Pin
Member 1012503214-Aug-14 18:42
Member 1012503214-Aug-14 18:42 
SuggestionRe: Parsing in C/C++ Pin
David Crow15-Aug-14 3:35
David Crow15-Aug-14 3:35 
AnswerRe: Parsing in C/C++ Pin
Richard MacCutchan14-Aug-14 21:12
mveRichard MacCutchan14-Aug-14 21:12 
AnswerRe: Parsing in C/C++ Pin
jschell15-Aug-14 9:24
jschell15-Aug-14 9:24 
QuestionCLongBinary Limited to 255 Bytes Pin
Drakesal13-Aug-14 21:52
Drakesal13-Aug-14 21:52 
QuestionRe: CLongBinary Limited to 255 Bytes Pin
Richard MacCutchan13-Aug-14 22:17
mveRichard MacCutchan13-Aug-14 22:17 

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.