Click here to Skip to main content
15,921,113 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSend message from separate Thread Pin
Cedric Moonen11-Jan-04 23:18
Cedric Moonen11-Jan-04 23:18 
GeneralRe: Send message from separate Thread Pin
Roger Allen11-Jan-04 23:51
Roger Allen11-Jan-04 23:51 
GeneralRe: Send message from separate Thread Pin
Cedric Moonen11-Jan-04 23:57
Cedric Moonen11-Jan-04 23:57 
GeneralRe: Send message from separate Thread Pin
Cedric Moonen12-Jan-04 2:56
Cedric Moonen12-Jan-04 2:56 
GeneralRe: Send message from separate Thread Pin
KarstenK12-Jan-04 4:21
mveKarstenK12-Jan-04 4:21 
GeneralRe: Send message from separate Thread Pin
Cedric Moonen12-Jan-04 4:37
Cedric Moonen12-Jan-04 4:37 
GeneralSaving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB11-Jan-04 23:14
JensB11-Jan-04 23:14 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Roger Allen11-Jan-04 23:54
Roger Allen11-Jan-04 23:54 
No its not possible using the standard MFC functions. We needed to do the same in our app. We took the existing code in the GEtProfileString() and the ancillary functions, pasted them verbatum and changed all the HKEY_CURRENT_USER references to HKEY_LOCAL_MACHINE. After adding a LM to the end of each function name it worked really well.

The only issue you may have is access rights. Depending on how the admin sets up registry access, your application could possible be blocked from writing to HLM.

Roger Allen - Sonork 100.10016
Roger Wright: Remember to buckle up, please, and encourage your friends to do the same. It's not just about saving your life, but saving the quality of life for those you may leave behind...
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 0:07
Jijo.Raj12-Jan-04 0:07 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB12-Jan-04 0:13
JensB12-Jan-04 0:13 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 1:38
Jijo.Raj12-Jan-04 1:38 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB12-Jan-04 2:09
JensB12-Jan-04 2:09 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 2:13
Jijo.Raj12-Jan-04 2:13 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
JensB12-Jan-04 4:47
JensB12-Jan-04 4:47 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj12-Jan-04 5:46
Jijo.Raj12-Jan-04 5:46 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Anonymous12-Jan-04 20:11
Anonymous12-Jan-04 20:11 
GeneralRe: Saving information in registry 'HKEY_LOCAL_MACHINE' Pin
Jijo.Raj13-Jan-04 2:26
Jijo.Raj13-Jan-04 2:26 
GeneralSpying on HTML Pin
Monty211-Jan-04 22:58
Monty211-Jan-04 22:58 
GeneralRe: Spying on HTML Pin
22491712-Jan-04 0:24
22491712-Jan-04 0:24 
GeneralSomething Like this Pin
Monty212-Jan-04 1:13
Monty212-Jan-04 1:13 
GeneralRe: Spying on HTML Pin
ohadp12-Jan-04 2:22
ohadp12-Jan-04 2:22 
GeneralRe: Spying on HTML Pin
Monty212-Jan-04 2:31
Monty212-Jan-04 2:31 
GeneralRemote Machine Processes Pin
Mahesh Varma11-Jan-04 22:34
Mahesh Varma11-Jan-04 22:34 
General_beginthread Pin
murali_utr11-Jan-04 22:32
murali_utr11-Jan-04 22:32 
GeneralRe: _beginthread Pin
Mahesh Varma11-Jan-04 22:54
Mahesh Varma11-Jan-04 22:54 

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.