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

Remote Processes and Machine control of Windows NT based systems (2000/XP)

, 1 Apr 2012
Control certain aspects of machines sitting remotely, without having to install and trigger an application on the remote machine.
// Global helper functions

#ifndef GLOBALHELPERFUNC_H
#define GLOBALHELPERFUNC_H

#include <afxwin.h>

namespace ErrorHandling
{
	void    PopError(DWORD dwError);
	void    PopLastError();
	CString FormatError(DWORD dwError);
	CString FormatLastError();
	
	// Converts a string table ID to an application speific error message
	CString ConvertStringTableIDToErrorMsg(CString strMachineIP, UINT iStringTableID);
}

namespace ProcessHandling
{
	void LaunchApp(CString strAppPath, CString strCommandLine);
}



#endif // GLOBALHELPERFUNC_H

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

Prateek Kaul
Web Developer
India India
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140921.1 | Last Updated 1 Apr 2012
Article Copyright 2003 by Prateek Kaul
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid