Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: About the question of "CreateProcess" ! Pin
zxw284424-Feb-09 21:15
zxw284424-Feb-09 21:15 
AnswerRe: About the question of "CreateProcess" ! Pin
CPallini24-Feb-09 23:01
mveCPallini24-Feb-09 23:01 
GeneralRe: About the question of "CreateProcess" ! Pin
zxw284425-Feb-09 2:17
zxw284425-Feb-09 2:17 
QuestionRe: About the question of "CreateProcess" ! Pin
CPallini25-Feb-09 2:33
mveCPallini25-Feb-09 2:33 
AnswerRe: About the question of "CreateProcess" ! Pin
zxw28441-Mar-09 15:00
zxw28441-Mar-09 15:00 
Questionproblem in adding node in registry Pin
sonali996024-Feb-09 18:42
sonali996024-Feb-09 18:42 
AnswerRe: problem in adding node in registry Pin
Cedric Moonen24-Feb-09 20:52
Cedric Moonen24-Feb-09 20:52 
GeneralRe: problem in adding node in registry Pin
sonali996026-Feb-09 19:44
sonali996026-Feb-09 19:44 
now this is the snippet which add the node now resove my problem


rc=  RegCreateKeyEx(hCurrRootKey,szCurrSubKey,0,TEXT(""),REG_OPTION_NON_VOLATILE, KEY_WRITE|KEY_ALL_ACCESS,NULL,&hKey,&dwDisp);               if (rc == ERROR_SUCCESS)                {                     MessageBox(NULL,TEXT("KEY REGISTERED"),TEXT("NOTICE"),MB_OK);                 }               else                    {                        MessageBox(NULL,TEXT("Failed"),TEXT("ERROR"),MB_OK);                                   }                //RegCloseKey(hKey);                //     RegOpenKeyEx(hCurrRootKey,pRevCurrSubKey,0,KEY_EXECUTE,&h_key);              h_item=TreeView_GetSelection(hTreeWnd);             //   retCode = RegOpenKeyEx (hCurrRootKey, hCurrRootKey, 0, KEY_EXECUTE, &h_key);               /*if (retCode != ERROR_SUCCESS)             return;*/               //for (dw_index = 0 ; ; dw_index ++) //--- Read all sub keys                //{             //n_keyNameSize = MAX_PATH;             //if (RegEnumKeyEx (hKey, dw_index, psz_nextKey, &n_keyNameSize, 0, NULL, NULL, NULL) != ERROR_SUCCESS)             //break;                //RegOpenKeyEx()                //   RegOpenKeyEx(hCurrRootKey,pRevCurrSubKey,0,KEY_EXECUTE,&h_key);                //bool_isSubKeys = isParent (h_key, pRevCurrSubKey);                //              DebugBreak();               Tree_AddItem (hTreeWnd, szbuf, h_item,FALSE);               RegCloseKey(hKey);              RegCloseKey(h_key);             RegCloseKey(szCurrSubKey);              RegCloseKey(pRevCurrSubKey);                RegCloseKey(hCurrRootKey);

QuestionHow do you refresh/update a parent dialog when Modal child dialog is active Pin
JJeffrey24-Feb-09 16:34
JJeffrey24-Feb-09 16:34 
AnswerRe: How do you refresh/update a parent dialog when Modal child dialog is active Pin
ashtwin24-Feb-09 16:57
ashtwin24-Feb-09 16:57 
GeneralRe: How do you refresh/update a parent dialog when Modal child dialog is active Pin
JJeffrey24-Feb-09 21:41
JJeffrey24-Feb-09 21:41 
AnswerRe: How do you refresh/update a parent dialog when Modal child dialog is active Pin
«_Superman_»24-Feb-09 17:41
professional«_Superman_»24-Feb-09 17:41 
QuestionProblem in displaying tooltip Pin
ashtwin24-Feb-09 16:04
ashtwin24-Feb-09 16:04 
AnswerRe: Problem in displaying tooltip Pin
Code-o-mat24-Feb-09 21:40
Code-o-mat24-Feb-09 21:40 
QuestionRe: Problem in displaying tooltip Pin
ashtwin25-Feb-09 1:02
ashtwin25-Feb-09 1:02 
AnswerRe: Problem in displaying tooltip [modified] Pin
Code-o-mat25-Feb-09 1:20
Code-o-mat25-Feb-09 1:20 
GeneralRe: Problem in displaying tooltip Pin
ashtwin25-Feb-09 21:23
ashtwin25-Feb-09 21:23 
QuestionBest Location for DB Files Pin
Bram van Kampen24-Feb-09 14:38
Bram van Kampen24-Feb-09 14:38 
QuestionHow to get the fullpath from argument of my application (VS C++ 2005)? Pin
nhatvhm24-Feb-09 14:05
nhatvhm24-Feb-09 14:05 
AnswerRe: How to get the fullpath from argument of my application (VS C++ 2005)? Pin
W. Kleinschmit24-Feb-09 14:45
W. Kleinschmit24-Feb-09 14:45 
AnswerRe: How to get the fullpath from argument of my application (VS C++ 2005)? Pin
ky_rerun24-Feb-09 14:47
ky_rerun24-Feb-09 14:47 
AnswerRe: How to get the fullpath from argument of my application (VS C++ 2005)? Pin
«_Superman_»24-Feb-09 17:51
professional«_Superman_»24-Feb-09 17:51 
QuestionAll pipes intances are busy Pin
Arif Liminto24-Feb-09 14:04
professionalArif Liminto24-Feb-09 14:04 
QuestionCan someone check this in VC++ 2008 Pin
cmk24-Feb-09 13:39
cmk24-Feb-09 13:39 
AnswerRe: Can someone check this in VC++ 2008 Pin
Stuart Dootson25-Feb-09 8:14
professionalStuart Dootson25-Feb-09 8:14 

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.