Click here to Skip to main content
15,793,609 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 23:31
mveCPallini27-Apr-09 23:31 
QuestionFelxGrid "help me" [modified] Pin
Benjamin Bruno27-Apr-09 21:54
Benjamin Bruno27-Apr-09 21:54 
AnswerRe: FelxGrid "help me" Pin
Code-o-mat28-Apr-09 0:02
Code-o-mat28-Apr-09 0:02 
QuestionHow to Read a User/System Environment Variable Using c++ Pin
Mogaambo27-Apr-09 21:50
Mogaambo27-Apr-09 21:50 
AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
Murugesan G27-Apr-09 22:07
Murugesan G27-Apr-09 22:07 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Stephen Hewitt28-Apr-09 1:11
Stephen Hewitt28-Apr-09 1:11 
AnswerRe: How to Read a User/System Environment Variable Using c++ Pin
Michael Schubert27-Apr-09 22:13
Michael Schubert27-Apr-09 22:13 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Mogaambo27-Apr-09 23:22
Mogaambo27-Apr-09 23: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 22:43
V K 227-Apr-09 22:43 
GeneralRe: How to Read a User/System Environment Variable Using c++ Pin
Michael Schubert27-Apr-09 22:50
Michael Schubert27-Apr-09 22:50 
QuestionHow to clean up an object of CMapStringtoString Pin
V K 227-Apr-09 21:40
V K 227-Apr-09 21:40 
AnswerRe: How to clean up an object of CMapStringtoString Pin
Rajkumar R27-Apr-09 22:30
Rajkumar R27-Apr-09 22:30 
QuestionWinCe Screen shot of windows Pin
vijaywithu27-Apr-09 21:29
vijaywithu27-Apr-09 21:29 
AnswerRe: WinCe Screen shot of windows Pin
V K 227-Apr-09 21:47
V K 227-Apr-09 21:47 
AnswerRe: WinCe Screen shot of windows Pin
Rajkumar R27-Apr-09 21:50
Rajkumar R27-Apr-09 21:50 
QuestionHow to add images in visual C++ Library Files Pin
Sakthi.Gs :-)27-Apr-09 21:04
Sakthi.Gs :-)27-Apr-09 21:04 
AnswerRe: How to add images in visual C++ Library Files Pin
KarstenK27-Apr-09 23:50
mveKarstenK27-Apr-09 23:50 
QuestionHow to get the handles of all the windows opened in wince? Pin
ujjawal kumar27-Apr-09 19:59
ujjawal kumar27-Apr-09 19:59 
AnswerRe: How to get the handles of all the windows opened in wince? Pin
Rajkumar R27-Apr-09 20:43
Rajkumar R27-Apr-09 20:43 
GeneralRe: How to get the handles of all the windows opened in wince? Pin
ujjawal kumar27-Apr-09 22:07
ujjawal kumar27-Apr-09 22:07 
GeneralRe: How to get the handles of all the windows opened in wince? Pin
Rajkumar R28-Apr-09 1:52
Rajkumar R28-Apr-09 1:52 
Questionsscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
xzing27-Apr-09 14:37
xzing27-Apr-09 14:37 
AnswerRe: sscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
Stuart Dootson27-Apr-09 14:49
professionalStuart Dootson27-Apr-09 14:49 
AnswerRe: sscanf: cannot convert parameter 1 'LPTSTR' to 'const char *' Pin
CPallini27-Apr-09 23:05
mveCPallini27-Apr-09 23:05 
QuestionDoc-View vs Dialog-based app - Menu Item updates Pin
john john mackey27-Apr-09 12:35
john john mackey27-Apr-09 12: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.