Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: convert c to c++ Pin
Stuart Dootson17-Jul-09 13:07
professionalStuart Dootson17-Jul-09 13:07 
GeneralRe: convert c to c++ Pin
killabyte17-Jul-09 15:50
killabyte17-Jul-09 15:50 
GeneralRe: convert c to c++ Pin
lls020117-Jul-09 17:09
lls020117-Jul-09 17:09 
Questionchange the text box. Pin
Sanjeev.Kr.mit17-Jul-09 6:20
Sanjeev.Kr.mit17-Jul-09 6:20 
AnswerRe: change the text box. Pin
David Crow17-Jul-09 7:06
David Crow17-Jul-09 7:06 
AnswerRe: change the text box. Pin
carter200017-Jul-09 16:09
carter200017-Jul-09 16:09 
AnswerRe: change the text box. Pin
lls020117-Jul-09 17:59
lls020117-Jul-09 17:59 
QuestionWMI in windows service - Access Denied Pin
hackcrackvirus17-Jul-09 4:56
hackcrackvirus17-Jul-09 4:56 
Hello,
I am trying to create a Windows service with the following WMI code from MSDN(except reading the credentials which I am hard coding):
Example: Getting WMI Data from a Remote Computer

- When I run this code as application, it runs fine. When I run this code as Windows service, it gives me "Access Denied" in ExecQuery().
- In ConnectServer(), when I pass NULL as username/password, as application it runs fine but in service it gives "Access Denied". Is there API or something to know the username and password used to start the service , so that I can use it in ConnectServer().

Please help.
AnswerRe: WMI in windows service - Access Denied Pin
Randor 17-Jul-09 9:21
professional Randor 17-Jul-09 9:21 
GeneralRe: WMI in windows service - Access Denied Pin
hackcrackvirus19-Jul-09 19:01
hackcrackvirus19-Jul-09 19:01 
QuestionCstrings and 64 bit conversions Pin
dasstar17-Jul-09 4:23
dasstar17-Jul-09 4:23 
AnswerRe: Cstrings and 64 bit conversions Pin
Chris Losinger17-Jul-09 4:26
professionalChris Losinger17-Jul-09 4:26 
GeneralRe: Cstrings and 64 bit conversions Pin
dasstar17-Jul-09 5:39
dasstar17-Jul-09 5:39 
QuestionProblem in call Bitmap::FromFile GDI function Pin
Shivanand Gupta17-Jul-09 4:19
Shivanand Gupta17-Jul-09 4:19 
AnswerRe: Problem in call Bitmap::FromFile GDI function Pin
ThatsAlok18-Jul-09 7:44
ThatsAlok18-Jul-09 7:44 
GeneralRe: Problem in call Bitmap::FromFile GDI function Pin
Shivanand Gupta19-Jul-09 18:48
Shivanand Gupta19-Jul-09 18:48 
GeneralRe: Problem in call Bitmap::FromFile GDI function Pin
snailbchen17-Mar-12 5:09
snailbchen17-Mar-12 5:09 
QuestionProblem in call Bitmap::FromFile GDI function Pin
Member 417071117-Jul-09 4:18
Member 417071117-Jul-09 4:18 
QuestionProblem in call Bitmap::FromFile Gdi function Pin
Member 417071117-Jul-09 4:12
Member 417071117-Jul-09 4:12 
QuestionCRect Pin
kumar sanghvi17-Jul-09 3:35
kumar sanghvi17-Jul-09 3:35 
AnswerRe: CRect Pin
Iain Clarke, Warrior Programmer17-Jul-09 3:37
Iain Clarke, Warrior Programmer17-Jul-09 3:37 
QuestionConversion from Cstring to LPSTR Pin
Pardhu_M17-Jul-09 3:18
Pardhu_M17-Jul-09 3:18 
AnswerRe: Conversion from Cstring to LPSTR Pin
Cedric Moonen17-Jul-09 3:23
Cedric Moonen17-Jul-09 3:23 
GeneralRe: Conversion from Cstring to LPSTR Pin
Rajesh R Subramanian17-Jul-09 3:39
professionalRajesh R Subramanian17-Jul-09 3:39 
GeneralRe: Conversion from Cstring to LPSTR Pin
ThatsAlok18-Jul-09 7:45
ThatsAlok18-Jul-09 7:45 

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.