Click here to Skip to main content
15,917,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:43
alex.barylski2-Sep-04 21:43 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 21:05
Johann Gerell2-Sep-04 21:05 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:17
alex.barylski2-Sep-04 21:17 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 23:03
Johann Gerell2-Sep-04 23:03 
GeneralRe: STL quickie Pin
PJ Arends2-Sep-04 20:42
professionalPJ Arends2-Sep-04 20:42 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 20:49
alex.barylski2-Sep-04 20:49 
GeneralSetting "Service" dependency programatically Pin
Qasim Jalil2-Sep-04 19:36
sussQasim Jalil2-Sep-04 19:36 
GeneralRe: Setting "Service" dependency programatically Pin
parths2-Sep-04 21:09
parths2-Sep-04 21:09 
CreateService has a parameter for Dependencies:

SC_HANDLE CreateService(
SC_HANDLE hSCManager,
LPCTSTR lpServiceName,
LPCTSTR lpDisplayName,
DWORD dwDesiredAccess,
DWORD dwServiceType,
DWORD dwStartType,
DWORD dwErrorControl,
LPCTSTR lpBinaryPathName,
LPCTSTR lpLoadOrderGroup,
LPDWORD lpdwTagId,
LPCTSTR lpDependencies,
LPCTSTR lpServiceStartName,
LPCTSTR lpPassword
);

From MSDN[^]

lpDependencies:
[in] Pointer to a double null-terminated array of null-separated names of services or load ordering groups that the system must start before this service. Specify NULL or an empty string if the service has no dependencies. Dependency on a group means that this service can run if at least one member of the group is running after an attempt to start all members of the group.
You must prefix group names with SC_GROUP_IDENTIFIER so that they can be distinguished from a service name, because services and service groups share the same name space.




"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman

"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
GeneralChange Exe contents while running Pin
Arsalan Malik2-Sep-04 18:23
Arsalan Malik2-Sep-04 18:23 
GeneralRe: Change Exe contents while running Pin
bmw50022-Sep-04 18:35
bmw50022-Sep-04 18:35 
GeneralRe: Change Exe contents while running Pin
alex.barylski2-Sep-04 18:37
alex.barylski2-Sep-04 18:37 
GeneralRe: Change Exe contents while running Pin
bmw50022-Sep-04 18:52
bmw50022-Sep-04 18:52 
GeneralRe: Change Exe contents while running Pin
2249172-Sep-04 20:54
2249172-Sep-04 20:54 
GeneralRe: Change Exe contents while running Pin
jmkhael2-Sep-04 22:14
jmkhael2-Sep-04 22:14 
GeneralRe: Change Exe contents while running Pin
David Crow3-Sep-04 2:35
David Crow3-Sep-04 2:35 
Generalport scan detector Pin
Anonymous2-Sep-04 18:19
Anonymous2-Sep-04 18:19 
GeneralRe: port scan detector Pin
bmw50022-Sep-04 19:51
bmw50022-Sep-04 19:51 
GeneralRe: port scan detector Pin
Antony M Kancidrowski2-Sep-04 23:16
Antony M Kancidrowski2-Sep-04 23:16 
GeneralRe: port scan detector Pin
bmw50025-Sep-04 14:43
bmw50025-Sep-04 14:43 
GeneralRe: port scan detector Pin
Antony M Kancidrowski6-Sep-04 2:53
Antony M Kancidrowski6-Sep-04 2:53 
GeneralRe: port scan detector Pin
Antony M Kancidrowski2-Sep-04 23:11
Antony M Kancidrowski2-Sep-04 23:11 
GeneralNon-Static Callbacks Pin
bmw50022-Sep-04 18:06
bmw50022-Sep-04 18:06 
GeneralRe: Non-Static Callbacks Pin
Indrawati2-Sep-04 19:10
Indrawati2-Sep-04 19:10 
GeneralRe: Non-Static Callbacks Pin
bmw50022-Sep-04 19:47
bmw50022-Sep-04 19:47 
GeneralRe: Non-Static Callbacks Pin
Indrawati2-Sep-04 19:58
Indrawati2-Sep-04 19:58 

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.