Click here to Skip to main content
16,006,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HtmlHelp Pin
Ravi Bhavnani25-Jun-02 4:26
professionalRavi Bhavnani25-Jun-02 4:26 
GeneralMore Registry questions Pin
Selevercin19-Jun-02 13:24
Selevercin19-Jun-02 13:24 
GeneralRe: More Registry questions Pin
Nish Nishant19-Jun-02 13:29
sitebuilderNish Nishant19-Jun-02 13:29 
GeneralRe: More Registry questions Pin
Selevercin19-Jun-02 13:36
Selevercin19-Jun-02 13:36 
GeneralRe: More Registry questions Pin
Nish Nishant19-Jun-02 13:52
sitebuilderNish Nishant19-Jun-02 13:52 
GeneralRe: More Registry questions Pin
Michael Dunn19-Jun-02 19:06
sitebuilderMichael Dunn19-Jun-02 19:06 
GeneralRe: More Registry questions Pin
Nish Nishant19-Jun-02 19:40
sitebuilderNish Nishant19-Jun-02 19:40 
GeneralRe: More Registry questions Pin
Selevercin20-Jun-02 5:12
Selevercin20-Jun-02 5:12 
Ok, it's all looking good and better. I used Michel Dunn's idea. So this is my code:

        HKEY hKey;   
	DWORD dwDisposition;   
	RegCreateKeyEx(HKEY_CURRENT_USER,"Software",0,"",REG_OPTION_NON_VOLATILE,KEY_READ|KEY_WRITE , NULL,&hKey,&dwDisposition);
	AfxGetApp()->WriteProfileString("Cloaked Chat", "Test", "Test");
	RegCloseKey(hKey);
</code>


It all compiles error free, but do I need to set some values for the "hKey" and "dwDispostion"? When I ran the above code, nothing happened. Shouldn't it have made a folder called test with the string "test" inside the folder "Cloaked Chat" of the software folder?

Thanks,

~ Selevercin

If you have a problem with my spelling, just remember that's not my fault. I [as well as everyone
else who learned to spell after 1976] blame it on
Robert A. Kolpek for U.S. Patent 4,136,395.

GeneralCDialog & Multithreading :: MFC Pin
valikac19-Jun-02 13:19
valikac19-Jun-02 13:19 
GeneralRe: CDialog & Multithreading :: MFC Pin
Nish Nishant19-Jun-02 13:27
sitebuilderNish Nishant19-Jun-02 13:27 
GeneralRe: CDialog & Multithreading :: MFC Pin
valikac19-Jun-02 13:47
valikac19-Jun-02 13:47 
GeneralRe: CDialog & Multithreading :: MFC Pin
Nish Nishant19-Jun-02 13:55
sitebuilderNish Nishant19-Jun-02 13:55 
GeneralRe: CDialog & Multithreading :: MFC Pin
valikac19-Jun-02 14:26
valikac19-Jun-02 14:26 
GeneralATL Server Pin
Al_Pennyworth19-Jun-02 12:35
Al_Pennyworth19-Jun-02 12:35 
GeneralRegistry Theory Question Pin
soup19-Jun-02 12:30
soup19-Jun-02 12:30 
GeneralRe: Registry Theory Question Pin
Nish Nishant19-Jun-02 13:01
sitebuilderNish Nishant19-Jun-02 13:01 
GeneralRe: Registry Theory Question Pin
soup19-Jun-02 13:12
soup19-Jun-02 13:12 
GeneralRe: Registry Theory Question Pin
Michael Dunn19-Jun-02 19:09
sitebuilderMichael Dunn19-Jun-02 19:09 
GeneralMultiply Copies of same image Pin
19-Jun-02 12:23
suss19-Jun-02 12:23 
GeneralRe: Multiply Copies of same image Pin
Christian Graus19-Jun-02 14:00
protectorChristian Graus19-Jun-02 14:00 
GeneralTooltips + Codepage / Owner-drawn Pin
Oz Ben Eliezer19-Jun-02 12:09
Oz Ben Eliezer19-Jun-02 12:09 
GeneralOutlook Event Sinks Pin
19-Jun-02 11:18
suss19-Jun-02 11:18 
Generalrun a process as a different user Pin
Jason Henderson19-Jun-02 11:16
Jason Henderson19-Jun-02 11:16 
GeneralRe: run a process as a different user Pin
Navin19-Jun-02 11:48
Navin19-Jun-02 11:48 
GeneralRe: run a process as a different user Pin
Jason Henderson20-Jun-02 3:36
Jason Henderson20-Jun-02 3:36 

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.