Click here to Skip to main content
16,007,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalproblem with gridctrl_demo225 Pin
sunny_vc22-Apr-08 20:55
sunny_vc22-Apr-08 20:55 
GeneralRe: problem with gridctrl_demo225 Pin
Rajesh R Subramanian22-Apr-08 23:57
professionalRajesh R Subramanian22-Apr-08 23:57 
GeneralRegOpenKeyEx returning strange error Pin
vipin_nvk22-Apr-08 20:43
vipin_nvk22-Apr-08 20:43 
GeneralRe: RegOpenKeyEx returning strange error Pin
Jhony george22-Apr-08 20:51
Jhony george22-Apr-08 20:51 
GeneralRe: RegOpenKeyEx returning strange error Pin
vipin_nvk22-Apr-08 21:15
vipin_nvk22-Apr-08 21:15 
GeneralRe: RegOpenKeyEx returning strange error Pin
Jhony george22-Apr-08 21:22
Jhony george22-Apr-08 21:22 
GeneralRe: RegOpenKeyEx returning strange error Pin
Rajesh R Subramanian23-Apr-08 0:00
professionalRajesh R Subramanian23-Apr-08 0:00 
QuestionRe: RegOpenKeyEx returning strange error Pin
David Crow23-Apr-08 3:42
David Crow23-Apr-08 3:42 
Have you tried:

HKEY hKey;
 
LONG lResult = ::RegOpenKeyEx(HKEY_CLASSES_ROOT, _T("Outlook.Application\\CurVer"), 0, KEY_READ, &hKey);
if (lResult == ERROR_SUCCESS)
{
    // do something
}
else
{
    LPVOID lpMsgBuf;
 
    FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
                  NULL,
                  lResult,
                  MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
                  (LPTSTR) &lpMsgBuf,
                  0,
                  NULL);
    ...
    LocalFree(lpMsgBuf);
}


"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


Generaldll problem Pin
prithaa22-Apr-08 20:25
prithaa22-Apr-08 20:25 
GeneralRe: dll problem Pin
Cedric Moonen22-Apr-08 20:43
Cedric Moonen22-Apr-08 20:43 
GeneralRe: dll problem Pin
prithaa22-Apr-08 21:11
prithaa22-Apr-08 21:11 
GeneralEM_CHARFROMPOS for CRichEditCtrl Pin
prithaa22-Apr-08 20:23
prithaa22-Apr-08 20:23 
GeneralRe: EM_CHARFROMPOS for CRichEditCtrlp[modified] Pin
Naveen22-Apr-08 20:51
Naveen22-Apr-08 20:51 
GeneralRe: EM_CHARFROMPOS for CRichEditCtrl Pin
prithaa22-Apr-08 21:09
prithaa22-Apr-08 21:09 
GeneralRe: EM_CHARFROMPOS for CRichEditCtrl Pin
Naveen22-Apr-08 21:15
Naveen22-Apr-08 21:15 
QuestionRe: EM_CHARFROMPOS for CRichEditCtrl Pin
David Crow23-Apr-08 3:46
David Crow23-Apr-08 3:46 
GeneralRe: EM_CHARFROMPOS for CRichEditCtrl Pin
prithaa24-Apr-08 6:50
prithaa24-Apr-08 6:50 
GeneralBasic concept of making a extractor Pin
neha.agarwal2722-Apr-08 19:46
neha.agarwal2722-Apr-08 19:46 
GeneralRe: Basic concept of making a extractor Pin
Cedric Moonen22-Apr-08 20:06
Cedric Moonen22-Apr-08 20:06 
GeneralRe: Basic concept of making a extractor Pin
neha.agarwal2722-Apr-08 20:12
neha.agarwal2722-Apr-08 20:12 
GeneralRe: Basic concept of making a extractor Pin
Cedric Moonen22-Apr-08 20:18
Cedric Moonen22-Apr-08 20:18 
GeneralRe: Basic concept of making a extractor Pin
neha.agarwal2722-Apr-08 20:37
neha.agarwal2722-Apr-08 20:37 
GeneralRe: Basic concept of making a extractor Pin
Hamid_RT23-Apr-08 1:32
Hamid_RT23-Apr-08 1:32 
QuestionProcess Memory Space Pin
barboris22-Apr-08 19:28
barboris22-Apr-08 19:28 
GeneralRe: Process Memory Space Pin
David Crow23-Apr-08 3:51
David Crow23-Apr-08 3:51 

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.