Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

getProcessPath.h File Reference

Declaration of function getProcessPath(). More...

#include "StdString.h"

Include dependency graph for getProcessPath.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph


int getProcessPath (CStdString &processPath, CStdString &processName)

Detailed Description

Declaration of function getProcessPath().

Josef Troch (

Function Documentation

int getProcessPath CStdString &  processPath,
CStdString &  processName

Returns name and path of current process executable.

This function is platform dependent - Windows API offers a function to do this, in Linux there is a link that can be read to get what we need.

processPath Path to the current process executable.
processName Name of the current process executable.
0 if OK, 1 in case of error.

Generated on Wed Aug 11 22:33:49 2004 for IOPC by Doxygen 1.3.6