Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: [help]detect the status of iis server Pin
David Crow9-Jun-09 3:39
David Crow9-Jun-09 3:39 
AnswerRe: [help]detect the status of iis server Pin
rahuljin9-Jun-09 8:50
rahuljin9-Jun-09 8:50 
GeneralRe: [help]detect the status of iis server Pin
David Crow9-Jun-09 9:23
David Crow9-Jun-09 9:23 
GeneralRe: [help]detect the status of iis server Pin
rahuljin9-Jun-09 10:38
rahuljin9-Jun-09 10:38 
GeneralRe: [help]detect the status of iis server Pin
David Crow10-Jun-09 3:43
David Crow10-Jun-09 3:43 
GeneralRe: [help]detect the status of iis server Pin
rahuljin12-Jun-09 1:46
rahuljin12-Jun-09 1:46 
GeneralRe: [help]detect the status of iis server Pin
David Crow12-Jun-09 3:06
David Crow12-Jun-09 3:06 
GeneralRe: [help]detect the status of iis server [modified] Pin
rahuljin12-Jun-09 4:35
rahuljin12-Jun-09 4:35 
thanks, it is working now. i will bother u soon if i stuck in something.
one more thing i want to ask. currently i have only one computer so no network. will this program work on a network of computers too ? i cant check myself.

suppose i run it on a client, will it give the info of server or all the computers in the network (clients + servers) ?
also, if i have the ip address of the server then how to use it in this program ?

thanks again Thumbs Up | :thumbsup:

rahul

update :

when i make a try to make a array of processes like this -------

wchar_t selPro[] = { _T("W3SVC"), _T("Iisadmin")};

SC_HANDLE hService = OpenService(hSCM, selPro[j], SERVICE_QUERY_STATUS);


where j is for "for" lool (0,1). when i compile this code, compiling completes without any error and when i try to run it, it crashes. if i pass without array, it works fine.

please guide me

modified on Saturday, June 13, 2009 5:05 PM

QuestionRe: [help]detect the status of iis server Pin
David Crow13-Jun-09 12:41
David Crow13-Jun-09 12:41 
AnswerRe: [help]detect the status of iis server [modified] Pin
rahuljin13-Jun-09 20:42
rahuljin13-Jun-09 20:42 
QuestionRe: [help]detect the status of iis server Pin
David Crow14-Jun-09 10:03
David Crow14-Jun-09 10:03 
AnswerRe: [help]detect the status of iis server Pin
rahuljin14-Jun-09 11:19
rahuljin14-Jun-09 11:19 
AnswerRe: [help]detect the status of iis server Pin
David Crow15-Jun-09 3:57
David Crow15-Jun-09 3:57 
GeneralRe: [help]detect the status of iis server [modified] Pin
rahuljin15-Jun-09 5:26
rahuljin15-Jun-09 5:26 
QuestionHi! VC console GUI Pin
tuan11118-Jun-09 17:42
tuan11118-Jun-09 17:42 
AnswerRe: Hi! VC console GUI Pin
Chandrasekharan P8-Jun-09 18:08
Chandrasekharan P8-Jun-09 18:08 
AnswerRe: Hi! VC console GUI Pin
Cedric Moonen8-Jun-09 20:19
Cedric Moonen8-Jun-09 20:19 
AnswerRe: Hi! VC console GUI Pin
Michael Schubert9-Jun-09 0:44
Michael Schubert9-Jun-09 0:44 
QuestionHow to convert a VARIANT buffer to a byte buffer? Pin
gpenghe8-Jun-09 17:00
gpenghe8-Jun-09 17:00 
AnswerRe: How to convert a VARIANT buffer to a byte buffer? Pin
«_Superman_»8-Jun-09 19:23
professional«_Superman_»8-Jun-09 19:23 
GeneralRe: How to convert a VARIANT buffer to a byte buffer? Pin
gpenghe8-Jun-09 23:38
gpenghe8-Jun-09 23:38 
GeneralRe: How to convert a VARIANT buffer to a byte buffer? Pin
«_Superman_»9-Jun-09 5:33
professional«_Superman_»9-Jun-09 5:33 
GeneralRe: How to convert a VARIANT buffer to a byte buffer? Pin
gpenghe9-Jun-09 5:43
gpenghe9-Jun-09 5:43 
QuestionHow to display '&' text on CMFCToolBarButton Pin
Un Suthee8-Jun-09 10:41
Un Suthee8-Jun-09 10:41 
AnswerRe: How to display '&' text on CMFCToolBarButton Pin
Rajesh R Subramanian8-Jun-09 11:11
professionalRajesh R Subramanian8-Jun-09 11:11 

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.