kctan
October 28th, 2004, 05:57 AM
What should I include if i want to use EnumServicesStatusEx()??
|
Click to See Complete Forum and Search --> : Enumerate the services of windows kctan October 28th, 2004, 05:57 AM What should I include if i want to use EnumServicesStatusEx()?? NoHero October 28th, 2004, 07:14 AM What should I include if i want to use EnumServicesStatusEx()?? Client: Requires Windows XP or Windows 2000 Professional. Server: Requires Windows Server 2003 or Windows 2000 Server. Unicode: Implemented as EnumServicesStatusExW(Unicode) and EnumServicesStatusExA(ANSI). Header: Declared in Winsvc.h; include Windows.h. Library: Use Advapi32.lib. DLL: advapi32.dll Or view this (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/enumservicesstatusex.asp) for detail information. Bornish November 2nd, 2004, 06:01 AM Include <window.h>, link to "advapi32.lib"... available only for Windows XP and Windows 2000 Professional !!! Mick November 2nd, 2004, 06:02 AM Please do not post a new question when you already have a thread open. The platform SDK contains the latests defs and libs for the win32 api. You can download this from msdn.microsoft.com. You will find EnumServicesStatusEx(...) in winsvc.h which will be included via windows.h. Alternatively you can use LoadLibrary(...)/GetProcAddress(...) with the proper declarations. Arjay November 19th, 2004, 04:02 PM You may also need to add the line below before including the windows headers. This will include any functions defined for Win2000. #define _WIN32_WINNT 0x0500 Arjay Andreas Masur November 20th, 2004, 04:54 AM [ Merged threads ] codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |