Click here to Skip to main content
15,919,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Self delete Pin
David Crow9-Aug-07 3:08
David Crow9-Aug-07 3:08 
AnswerRe: Self delete Pin
Russell'9-Aug-07 3:15
Russell'9-Aug-07 3:15 
GeneralRe: Self delete Pin
Russell'9-Aug-07 3:17
Russell'9-Aug-07 3:17 
QuestionCreate Registry Key with C++ Pin
J_E_D_I9-Aug-07 0:26
J_E_D_I9-Aug-07 0:26 
AnswerRe: Create Registry Key with C++ Pin
Ranjoy Guha9-Aug-07 0:40
Ranjoy Guha9-Aug-07 0:40 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I9-Aug-07 0:53
J_E_D_I9-Aug-07 0:53 
GeneralRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 0:56
jhwurmbach9-Aug-07 0:56 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I9-Aug-07 1:13
J_E_D_I9-Aug-07 1:13 
What I've got in my code is:

RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\XXX\\License",0,
KEY_QUERY_VALUE ,&temporarykey);

RegQueryValueEx(temporarykey,"License", NULL, NULL,
(LPBYTE)License, &lpcbData);

Where should I add _T(SOFTWARE\\XXX\\License")
and _T("License")?

Sorry to be a pain!WTF | :WTF:
GeneralRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 1:18
jhwurmbach9-Aug-07 1:18 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I9-Aug-07 2:05
J_E_D_I9-Aug-07 2:05 
GeneralRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 2:26
jhwurmbach9-Aug-07 2:26 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I9-Aug-07 4:01
J_E_D_I9-Aug-07 4:01 
GeneralRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 5:36
jhwurmbach9-Aug-07 5:36 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I11-Aug-07 3:06
J_E_D_I11-Aug-07 3:06 
GeneralRe: Create Registry Key with C++ Pin
David Crow9-Aug-07 3:16
David Crow9-Aug-07 3:16 
GeneralRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 3:35
jhwurmbach9-Aug-07 3:35 
GeneralRe: Create Registry Key with C++ Pin
Ranjoy Guha9-Aug-07 1:25
Ranjoy Guha9-Aug-07 1:25 
AnswerRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 0:54
jhwurmbach9-Aug-07 0:54 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I9-Aug-07 1:10
J_E_D_I9-Aug-07 1:10 
GeneralRe: Create Registry Key with C++ Pin
jhwurmbach9-Aug-07 1:15
jhwurmbach9-Aug-07 1:15 
GeneralRe: Create Registry Key with C++ Pin
Jim Crafton9-Aug-07 8:33
Jim Crafton9-Aug-07 8:33 
AnswerRe: Create Registry Key with C++ Pin
hxhl959-Aug-07 9:34
hxhl959-Aug-07 9:34 
GeneralRe: Create Registry Key with C++ Pin
J_E_D_I15-Aug-07 23:56
J_E_D_I15-Aug-07 23:56 
GeneralRe: Create Registry Key with C++ Pin
hxhl9516-Aug-07 14:15
hxhl9516-Aug-07 14:15 
QuestionRe: Create Registry Key with C++ Pin
J_E_D_I18-Aug-07 22:00
J_E_D_I18-Aug-07 22:00 

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.