Click here to Skip to main content
15,878,945 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: initial a string why this new string has strange character at begin Pin
CPallini27-Apr-09 22:31
mveCPallini27-Apr-09 22:31 
QuestionFelxGrid "help me" [modified] Pin
Benjamin Bruno27-Apr-09 20:54
Benjamin Bruno27-Apr-09 20:54 
AnswerRe: FelxGrid "help me" Pin
Code-o-mat27-Apr-09 23:02
Code-o-mat27-Apr-09 23:02 
QuestionHow to Read a User/System Environment Variable Using c++ Pin
Mogaambo27-Apr-09 20:50
Mogaambo27-Apr-09 20:50 
AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
Murugesan G27-Apr-09 21:07
Murugesan G27-Apr-09 21:07 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Stephen Hewitt28-Apr-09 0:11
Stephen Hewitt28-Apr-09 0:11 
AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
Michael Schubert27-Apr-09 21:13
Michael Schubert27-Apr-09 21:13 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Mogaambo27-Apr-09 22:22
Mogaambo27-Apr-09 22:22 
I had created variable in user section , using the following code

'defining variables
dim objShell, colUserEnvVars

'initializing all variables
Set objShell = WScript.CreateObject("WScript.Shell")
Set colUserEnvVars = objShell.Environment("System")

'Output File for registry information.
colUserEnvVars("rahul") = "rahul"

but i cannot read the same from c++, for this i have to restart the system,

but Wscript.Echo colUserEnvVars("DeloitteAuditShare123") read the value without restarting ths system.

“You will never be a leader unless you first learn to follow and be led.”
–Tiorio

"Coming together is a beginning, staying together is progress, and working together is success." Henry Ford

AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
V K 227-Apr-09 21:43
V K 227-Apr-09 21:43 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Michael Schubert27-Apr-09 21:50
Michael Schubert27-Apr-09 21:50 
QuestionHow to clean up an object of CMapStringtoString Pin
V K 227-Apr-09 20:40
V K 227-Apr-09 20:40 
AnswerRe: How to clean up an object of CMapStringtoString Pin
Rajkumar R27-Apr-09 21:30
Rajkumar R27-Apr-09 21:30 
QuestionWinCe Screen shot of windows Pin
vijaywithu27-Apr-09 20:29
vijaywithu27-Apr-09 20:29 
AnswerRe: WinCe Screen shot of windows Pin
V K 227-Apr-09 20:47
V K 227-Apr-09 20:47 
AnswerRe: WinCe Screen shot of windows Pin
Rajkumar R27-Apr-09 20:50
Rajkumar R27-Apr-09 20:50 
QuestionHow to add images in visual C++ Library Files Pin
Sakthi.Gs :-)27-Apr-09 20:04
Sakthi.Gs :-)27-Apr-09 20:04 
AnswerRe: How to add images in visual C++ Library Files Pin
KarstenK27-Apr-09 22:50
mveKarstenK27-Apr-09 22:50 
QuestionHow to get the handles of all the windows opened in wince? Pin
ujjawal kumar27-Apr-09 18:59
ujjawal kumar27-Apr-09 18:59 
AnswerRe: How to get the handles of all the windows opened in wince? Pin
Rajkumar R27-Apr-09 19:43
Rajkumar R27-Apr-09 19:43 
GeneralRe: How to get the handles of all the windows opened in wince? Pin
ujjawal kumar27-Apr-09 21:07
ujjawal kumar27-Apr-09 21:07 
GeneralRe: How to get the handles of all the windows opened in wince? Pin
Rajkumar R28-Apr-09 0:52
Rajkumar R28-Apr-09 0:52 
Questionsscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
xzing27-Apr-09 13:37
xzing27-Apr-09 13:37 
AnswerRe: sscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
Stuart Dootson27-Apr-09 13:49
professionalStuart Dootson27-Apr-09 13:49 
AnswerRe: sscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
CPallini27-Apr-09 22:05
mveCPallini27-Apr-09 22:05 
QuestionDoc-View vs Dialog-based app - Menu Item updates Pin
john john mackey27-Apr-09 11:35
john john mackey27-Apr-09 11:35 

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.