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

getProcessPath.cpp File Reference

Definition of function getProcessPath(). More...

#include "getProcessPath.h"

Include dependency graph for getProcessPath.cpp:

Include dependency graph

Functions

int getProcessPath (CStdString &processPath, CStdString &processName)

Detailed Description

Definition of function getProcessPath().

Author:
Josef Troch (josef.troch@email.cz)
Date:
2004

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.

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


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