Click here to Skip to main content
15,915,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CListCtrl::GetHotItem() XP & 2000 Pin
Member 53100518-Aug-03 10:16
Member 53100518-Aug-03 10:16 
GeneralReading the registry Pin
Shay Harel18-Aug-03 7:59
Shay Harel18-Aug-03 7:59 
GeneralRe: Reading the registry Pin
David Crow18-Aug-03 9:03
David Crow18-Aug-03 9:03 
GeneralRe: Reading the registry Pin
Shay Harel18-Aug-03 9:09
Shay Harel18-Aug-03 9:09 
GeneralRe: Reading the registry Pin
David Crow18-Aug-03 9:18
David Crow18-Aug-03 9:18 
GeneralRe: Reading the registry Pin
Shay Harel18-Aug-03 10:36
Shay Harel18-Aug-03 10:36 
GeneralRe: Reading the registry Pin
David Crow18-Aug-03 10:44
David Crow18-Aug-03 10:44 
GeneralRe: Reading the registry Pin
Shay Harel18-Aug-03 10:48
Shay Harel18-Aug-03 10:48 
<br />
CString strMainKey = "System\\controlset001\\Control\\session manager\\environment\\";<br />
CRegKey regKey;<br />
CString reg_read;<br />
long lRes;<br />
unsigned long lSize;<br />
<br />
//check if everything is empty then we will read the regitry to get the path to diag6<br />
if (m_str_log_name=="")<br />
{<br />
<br />
	lRes = regKey.Open(HKEY_LOCAL_MACHINE, strMainKey,KEY_ALL_ACCESS);<br />
	regKey.QueryValue(reg_read.GetBuffer(0), "SYMMHOME1", &lSize);<br />
	regKey.Close();<br />
	reg_read+="\\symmwin\diag6";<br />
	<br />
}


I am almost there but the problem is that after I do:
reg_read+="\\symmwin\diag6";<br />

reg_read turns to be only "\\symmwin\diag6"........

any idea why ?
GeneralRe: Reading the registry Pin
David Crow18-Aug-03 10:58
David Crow18-Aug-03 10:58 
GeneralDrag drop from my application to Windows Explorer Pin
Orantho18-Aug-03 7:57
Orantho18-Aug-03 7:57 
GeneralWinSOCK bind function. Pin
Søren Alsbjerg Hørup18-Aug-03 7:23
Søren Alsbjerg Hørup18-Aug-03 7:23 
GeneralRe: WinSOCK bind function. Pin
markkuk18-Aug-03 8:02
markkuk18-Aug-03 8:02 
GeneralRe: WinSOCK bind function. Pin
Søren Alsbjerg Hørup18-Aug-03 8:44
Søren Alsbjerg Hørup18-Aug-03 8:44 
GeneralRe: WinSOCK bind function. Pin
Rickard Andersson2018-Aug-03 10:12
Rickard Andersson2018-Aug-03 10:12 
GeneralCHtmlView and TIFF Pin
Archigal18-Aug-03 6:38
Archigal18-Aug-03 6:38 
GeneralRe: CHtmlView and TIFF Pin
Archigal19-Aug-03 7:04
Archigal19-Aug-03 7:04 
Questiondo truetype fonts have a unique ID ? Pin
JP GOBLET18-Aug-03 5:59
JP GOBLET18-Aug-03 5:59 
AnswerRe: do truetype fonts have a unique ID ? Pin
Terry O'Nolley18-Aug-03 13:21
Terry O'Nolley18-Aug-03 13:21 
GeneralRe: do truetype fonts have a unique ID ? Pin
JP GOBLET18-Aug-03 21:31
JP GOBLET18-Aug-03 21:31 
GeneralTo LOCALHOST or not to LOCALHOST Pin
Fei Lok18-Aug-03 5:45
Fei Lok18-Aug-03 5:45 
GeneralRe: To LOCALHOST or not to LOCALHOST Pin
Steve S18-Aug-03 22:27
Steve S18-Aug-03 22:27 
Generalset align for header control Pin
_skidrow_vn_18-Aug-03 5:18
_skidrow_vn_18-Aug-03 5:18 
GeneralRe: set align for header control Pin
David Crow18-Aug-03 9:08
David Crow18-Aug-03 9:08 
GeneralTree Control: add item without an image Pin
heranda200018-Aug-03 5:06
heranda200018-Aug-03 5:06 
GeneralRe: Tree Control: add item without an image Pin
Rage18-Aug-03 5:11
professionalRage18-Aug-03 5:11 

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.