Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version
Go to top

ProSysLib: Dissecting the Process

, 22 Nov 2010
Access detailed information about the current process the easiest way.
ProcessInfo32_bin.zip
ProcessInfo.exe
ProSysLib.dll
Interop.ProSysLib.dll
ProcessInfo64_bin.zip
Interop.ProSysLib.dll
ProcessInfo.exe
ProSysLib.dll
ProcessInfo_bin.zip
PSL64v0.9.dll
Interop.ProSysLib.dll
ProcessInfo.exe
PSL32v0.9.dll
ProSysLib_v0.9.zip
ProSysLib_v0.9
Bin
PSL32v0.9.dll
PSL64v0.9.dll
Help
Samples
C#2008
ProcessInfo
Properties
Settings.settings
ProcessViewer
Properties
Settings.settings
VB6
CPUInfo.exe
CPUInfo.frm
CPUInfo.frx
CPUInfo.vbp
CPUInfo.vbw
VC2008
Deployment
Src
mssccprj.scc
ProSysLib.def
ProSysLib.rgs
ProSysLib.vcproj.vspscc
ProSysLib.vssscc
PSLSystem.rgs
PSLv0.5Setup.zip
PSLv0.5Setup.exe
PSLv0.7Setup.zip
PSLv0.7Setup.exe
#pragma once

/////////////////////////////////////////////////////////////////
// ProSysLib supports Windows 2000 or later in 32-bit mode,
// and Windows XP or later in 64-bit mode;
//
// Only 32-bit version of ProSysLib can be used on Windows 2000
// 64-bit OS, because Windows 2000 doesn't support 64-bit 
// Automation extensions at all (variant types VT_I8 and VT_UI8),
// making it impossible to properly exchange data between a
// client application and an Automation Server.
/////////////////////////////////////////////////////////////////

#ifdef _WIN64

	#ifndef WINVER
	#define WINVER 0x0501           // Windows XP or later;
	#endif

	#ifndef _WIN32_WINNT
	#define _WIN32_WINNT 0x0501     // Windows XP or later;
	#endif

	#ifndef _WIN32_WINDOWS
	#define _WIN32_WINDOWS 0x0501	// Windows XP or later;
	#endif

	#ifndef _WIN32_IE       
	#define _WIN32_IE 0x0501		// IE 5.01 or later
	#endif

#else

	#ifndef WINVER
	#define WINVER 0x0500           // Windows 2000 or later;
	#endif

	#ifndef _WIN32_WINNT
	#define _WIN32_WINNT 0x0500     // Windows 2000 or later;
	#endif

	#ifndef _WIN32_WINDOWS
	#define _WIN32_WINDOWS 0x0500	// Windows 2000 or later;
	#endif

	#ifndef _WIN32_IE       
	#define _WIN32_IE 0x0500		// IE 5.0 or later
	#endif

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Vitaly Tomilov
Software Developer (Senior) Sibedge IT
Ireland Ireland
My online CV: cv.vitalytomilov.com

| Advertise | Privacy | Mobile
Web03 | 2.8.140922.1 | Last Updated 22 Nov 2010
Article Copyright 2008 by Vitaly Tomilov
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid