Click here to Skip to main content
16,010,523 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Block Files or Give permiss to files Pin
densitet14-Apr-05 1:40
densitet14-Apr-05 1:40 
GeneralRe: Block Files or Give permiss to files Pin
Cedric Moonen14-Apr-05 1:46
Cedric Moonen14-Apr-05 1:46 
GeneralRe: Block Files or Give permiss to files Pin
densitet14-Apr-05 3:01
densitet14-Apr-05 3:01 
Generalaccess denied problem Pin
montu337713-Apr-05 0:04
montu337713-Apr-05 0:04 
GeneralRe: access denied problem Pin
Cedric Moonen13-Apr-05 0:10
Cedric Moonen13-Apr-05 0:10 
GeneralRe: access denied problem Pin
montu337713-Apr-05 3:31
montu337713-Apr-05 3:31 
GeneralRe: access denied problem Pin
Cedric Moonen13-Apr-05 3:49
Cedric Moonen13-Apr-05 3:49 
GeneralRegEnumKeyEx and Windows XP Pin
VadRoz13-Apr-05 0:02
VadRoz13-Apr-05 0:02 
I have a problem with function RegEnumKeyEx in Windows XP. Variable
retCode obtain code 5 after first using function RegEnumKeyEx. Code
showed below

<br />
void CInstDlg::GetSubKeys(HKEY key, CString subStr, CStringArray &arr)<br />
{<br />
    HKEY     hKey;<br />
    DWORD    i, retCode, maxlen = MAX_PATH;<br />
    CHAR     achKey[MAX_PATH]; <br />
    FILETIME ftLastWriteTime;<br />
<br />
    retCode = RegOpenKeyEx(key, subStr, NULL, KEY_QUERY_VALUE, &hKey);<br />
<br />
    for (i = 0, retCode = ERROR_SUCCESS;<br />
            retCode == ERROR_SUCCESS; i++)<br />
    {<br />
	retCode = RegEnumKeyEx(hKey, i, achKey, &maxlen, NULL, NULL, NULL,   <br />
        &ftLastWriteTime);<br />
        maxlen = MAX_PATH;<br />
        if (retCode == ERROR_SUCCESS)<br />
		   arr.Add(achKey);<br />
    }<br />
<br />
	RegCloseKey(hKey);<br />
}<br />



VadimR
GeneralRe: RegEnumKeyEx and Windows XP Pin
22491713-Apr-05 0:21
22491713-Apr-05 0:21 
GeneralRe: RegEnumKeyEx and Windows XP Pin
VadRoz13-Apr-05 1:46
VadRoz13-Apr-05 1:46 
GeneralRe: RegEnumKeyEx and Windows XP Pin
22491713-Apr-05 1:54
22491713-Apr-05 1:54 
GeneralDifferent results using MT and MTd Pin
Pablo Fraile12-Apr-05 23:41
Pablo Fraile12-Apr-05 23:41 
GeneralRe: Different results using MT and MTd Pin
Member 796598513-Apr-05 1:14
Member 796598513-Apr-05 1:14 
GeneralRe: Different results using MT and MTd Pin
Pablo Fraile13-Apr-05 1:23
Pablo Fraile13-Apr-05 1:23 
Generaloverloading [ ] [ ] operator Pin
swati2412-Apr-05 23:34
swati2412-Apr-05 23:34 
GeneralRe: overloading [ ] [ ] operator Pin
toxcct13-Apr-05 0:46
toxcct13-Apr-05 0:46 
GeneralRe: overloading [ ] [ ] operator Pin
Cedric Moonen13-Apr-05 1:09
Cedric Moonen13-Apr-05 1:09 
GeneralRe: overloading [ ] [ ] operator Pin
Axter26-Apr-05 17:49
professionalAxter26-Apr-05 17:49 
GeneralProblems with Custom controls in separate resource dll Pin
Gemini_II12-Apr-05 23:27
Gemini_II12-Apr-05 23:27 
GeneralRe: Problems with Custom controls in separate resource dll Pin
Member 796598513-Apr-05 1:10
Member 796598513-Apr-05 1:10 
GeneralProblem in loading metafile in VC++ MFC Pin
Sud_8312-Apr-05 23:16
Sud_8312-Apr-05 23:16 
GeneralRe: Problem in loading metafile in VC++ MFC Pin
Chris Losinger13-Apr-05 3:18
professionalChris Losinger13-Apr-05 3:18 
GeneralProblem with CListCtrl Pin
Neeranjan12-Apr-05 23:09
Neeranjan12-Apr-05 23:09 
QuestionHow to send a message from a object to its parents? Pin
thanh-hai.bui12-Apr-05 22:30
thanh-hai.bui12-Apr-05 22:30 
AnswerRe: How to send a message from a object to its parents? Pin
Joel Holdsworth12-Apr-05 22:54
Joel Holdsworth12-Apr-05 22:54 

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.