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

C / C++ / MFC

 
GeneralShut down a service programmatically Pin
Shay Harel11-Aug-04 6:19
Shay Harel11-Aug-04 6:19 
GeneralRe: Shut down a service programmatically Pin
User 665811-Aug-04 7:34
User 665811-Aug-04 7:34 
GeneralRe: Shut down a service programmatically Pin
Graham Bradshaw11-Aug-04 7:58
Graham Bradshaw11-Aug-04 7:58 
GeneralRe: Shut down a service programmatically Pin
Shay Harel11-Aug-04 10:19
Shay Harel11-Aug-04 10:19 
GeneralRe: Shut down a service programmatically Pin
Antony M Kancidrowski12-Aug-04 0:58
Antony M Kancidrowski12-Aug-04 0:58 
GeneralRe: Shut down a service programmatically Pin
Shay Harel12-Aug-04 3:29
Shay Harel12-Aug-04 3:29 
GeneralCComBSTR to string Pin
pocketpool11-Aug-04 5:56
pocketpool11-Aug-04 5:56 
GeneralRe: CComBSTR to string Pin
Jaime Stuardo11-Aug-04 6:36
Jaime Stuardo11-Aug-04 6:36 
You can use OLE2A macro, for example,

USES_CONVERSION;
CComBSTR bstrSource = "Text to convert";
std::string sTarget = OLE2A(bstrSource);

Jaime
GeneralRe: CComBSTR to string Pin
pocketpool11-Aug-04 11:22
pocketpool11-Aug-04 11:22 
QuestionHow can I tell if I'm running as a service? Pin
JT Anderson11-Aug-04 5:35
JT Anderson11-Aug-04 5:35 
AnswerRe: How can I tell if I'm running as a service? Pin
Ryan Binns11-Aug-04 18:42
Ryan Binns11-Aug-04 18:42 
GeneralMemory problem in CSharedFile. Pin
Aditya_Palanki11-Aug-04 4:47
Aditya_Palanki11-Aug-04 4:47 
GeneralRe: Memory problem in CSharedFile. Pin
Johan Rosengren11-Aug-04 6:25
Johan Rosengren11-Aug-04 6:25 
GeneralRe: Memory problem in CSharedFile. Pin
Aditya_Palanki13-Aug-04 0:26
Aditya_Palanki13-Aug-04 0:26 
GeneralRe: Memory problem in CSharedFile. Pin
Johan Rosengren13-Aug-04 0:34
Johan Rosengren13-Aug-04 0:34 
GeneralESC And Enter key's Pin
Larsson11-Aug-04 4:31
Larsson11-Aug-04 4:31 
GeneralRe: ESC And Enter key's Pin
Antony M Kancidrowski11-Aug-04 4:48
Antony M Kancidrowski11-Aug-04 4:48 
GeneralRe: ESC And Enter key's Pin
Larsson11-Aug-04 4:55
Larsson11-Aug-04 4:55 
GeneralPassing Array of Strings as BSTR* Pin
arun140511-Aug-04 3:55
arun140511-Aug-04 3:55 
GeneralRe: Passing Array of Strings as BSTR* Pin
Antony M Kancidrowski11-Aug-04 4:34
Antony M Kancidrowski11-Aug-04 4:34 
GeneralRe: Passing Array of Strings as BSTR* Pin
eight22-Feb-10 15:59
eight22-Feb-10 15:59 
GeneralSyntax Error NOT! Pin
jerry0davis11-Aug-04 3:47
jerry0davis11-Aug-04 3:47 
GeneralRe: Syntax Error NOT! Pin
David Crow11-Aug-04 3:52
David Crow11-Aug-04 3:52 
GeneralRe: Syntax Error NOT! Pin
jerry0davis11-Aug-04 4:00
jerry0davis11-Aug-04 4:00 
GeneralRe: Syntax Error NOT! Pin
David Crow11-Aug-04 4:13
David Crow11-Aug-04 4:13 

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.