version 1.6, 2006/01/30 16:19:34
|
version 1.7, 2007/04/03 18:51:01
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Day (mdday@us.ibm.com) |
|
// |
|
// Modified By: Mary Hinton (m.hinton@verizon.net) |
|
// Sushma Fernandes (sushma_fernandes@hp.com) |
|
// Yi Zhou, Hewlett-Packard Company (yi_zhou@hp.com) |
|
// Tony Fiorentino (fiorentino_tony@emc.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// Steve Hills (steve.hills@ncr.com) |
|
// Josephine Eskaline Joyce, IBM (jojustin@in.ibm.com) - Bug#2032, 2031 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include <windows.h> | #include <windows.h> |
#include <process.h> /* _beginthread, _endthread */ | #include <process.h> /* _beginthread, _endthread */ |
#include <tchar.h> | #include <tchar.h> |
#include <direct.h> | #include <direct.h> |
#include <Pegasus/Common/MessageLoader.h> //l10n |
#include <Pegasus/Common/MessageLoader.h> |
#include <Pegasus/Common/Thread.h> // l10n |
#include <Pegasus/Common/Thread.h> |
#include <Pegasus/Server/CIMServer.h> | #include <Pegasus/Server/CIMServer.h> |
| |
#include "Service.cpp" | #include "Service.cpp" |
|
|
//void ServerProcess::setHome(const String& home) | //void ServerProcess::setHome(const String& home) |
String ServerProcess::getHome(void) | String ServerProcess::getHome(void) |
{ | { |
String home = String::EMPTY; |
String home; |
| |
// Determine the absolute path to the running program | // Determine the absolute path to the running program |
char exe_pathname[_MAX_PATH] = {0}; | char exe_pathname[_MAX_PATH] = {0}; |