Click here to Skip to main content
15,896,269 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: How do you call a Parent Function from Child Form Pin
BuckBrown28-Sep-07 7:21
BuckBrown28-Sep-07 7:21 
QuestionConverting double, float, byte, short, string int values to void* Pin
dreamz648027-Sep-07 3:19
dreamz648027-Sep-07 3:19 
AnswerRe: Converting double, float, byte, short, string int values to void* Pin
led mike27-Sep-07 4:41
led mike27-Sep-07 4:41 
AnswerRe: Converting double, float, byte, short, string int values to void* Pin
Luc Pattyn28-Sep-07 7:49
sitebuilderLuc Pattyn28-Sep-07 7:49 
QuestionHow to change the change the startup type of a Windows Service from a program? Pin
Rocky#26-Sep-07 20:46
Rocky#26-Sep-07 20:46 
AnswerRe: How to change the change the startup type of a Windows Service from a program? Pin
led mike27-Sep-07 4:35
led mike27-Sep-07 4:35 
GeneralRe: How to change the change the startup type of a Windows Service from a program? Pin
Rocky#27-Sep-07 18:01
Rocky#27-Sep-07 18:01 
AnswerRe: How to change the change the startup type of a Windows Service from a program? Pin
Mark Salsbery27-Sep-07 6:10
Mark Salsbery27-Sep-07 6:10 
I don't know what "CService" is, and I also can't tell if you have a managed C++
question or not.

If you're code isn't managed C++, then you've posted on the wrong board, and
led mike has provided a solution.

If your service is a managed (.NET) service, then here's a quote from the docs:

"To change the StartType, you either have to uninstall and reinstall your service,
or manually change the setting using the Service Control Manager.
"

Of course, the unmanaged solution in led mike's link will work for any service -
the point is there's no .NET way to do it.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: How to change the change the startup type of a Windows Service from a program? Pin
Rocky#27-Sep-07 18:05
Rocky#27-Sep-07 18:05 
GeneralRe: How to change the change the startup type of a Windows Service from a program? Pin
Mark Salsbery28-Sep-07 6:37
Mark Salsbery28-Sep-07 6:37 
QuestionHow to remove an ambiguity in namespace in .NET 1.1 Pin
Rocky#26-Sep-07 19:17
Rocky#26-Sep-07 19:17 
AnswerRe: How to remove an ambiguity in namespace in .NET 1.1 Pin
DanB198329-Sep-07 10:29
DanB198329-Sep-07 10:29 
GeneralRe: How to remove an ambiguity in namespace in .NET 1.1 Pin
Rocky#30-Sep-07 0:04
Rocky#30-Sep-07 0:04 
GeneralRe: How to remove an ambiguity in namespace in .NET 1.1 Pin
DanB198330-Sep-07 9:16
DanB198330-Sep-07 9:16 
QuestionPassing a list of structures from managed c++ to c# Pin
slkr17126-Sep-07 2:42
slkr17126-Sep-07 2:42 
AnswerRe: Passing a list of structures from managed c++ to c# Pin
led mike26-Sep-07 4:55
led mike26-Sep-07 4:55 
GeneralRe: Passing a list of structures from managed c++ to c# Pin
slkr17126-Sep-07 20:55
slkr17126-Sep-07 20:55 
Questionusing unmanaged dlls asserts Pin
dedil26-Sep-07 1:13
dedil26-Sep-07 1:13 
QuestionWhat is resposible for Painting DataGridView Pin
BuckBrown24-Sep-07 12:33
BuckBrown24-Sep-07 12:33 
AnswerRe: What is resposible for Painting DataGridView Pin
Luc Pattyn24-Sep-07 14:15
sitebuilderLuc Pattyn24-Sep-07 14:15 
GeneralRe: What is resposible for Painting DataGridView Pin
BuckBrown25-Sep-07 6:05
BuckBrown25-Sep-07 6:05 
GeneralRe: What is resposible for Painting DataGridView Pin
BuckBrown25-Sep-07 7:19
BuckBrown25-Sep-07 7:19 
GeneralRe: What is resposible for Painting DataGridView Pin
BuckBrown25-Sep-07 9:26
BuckBrown25-Sep-07 9:26 
GeneralRe: What is resposible for Painting DataGridView [modified] Pin
Luc Pattyn26-Sep-07 7:31
sitebuilderLuc Pattyn26-Sep-07 7:31 
GeneralRe: What is resposible for Painting DataGridView Pin
Luc Pattyn26-Sep-07 10:04
sitebuilderLuc Pattyn26-Sep-07 10:04 

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.