Предыдущая тема :: Следующая тема |
Автор |
Сообщение |
Арт Гость
|
Добавлено: Пт Фев 01 2002 10:23 Заголовок сообщения: Visual C++ |
|
|
Как получить дирректорию, в которой лежит (из неё запустил) моё приложение(т.е. путь до себя) |
|
Вернуться к началу |
|
|
Alexy
Зарегистрирован: 22.10.2003 Сообщения: 48
|
Добавлено: Пт Фев 01 2002 11:23 Заголовок сообщения: Re: Visual C++ |
|
|
The GetCurrentDirectory function retrieves the current directory for the current process.
DWORD GetCurrentDirectory( DWORD nBufferLength, // size, in characters, of directory buffer LPTSTR lpBuffer // pointer to buffer for current directory );
The GetCommandLine function returns a pointer to the command-line string for the current process.
LPTSTR GetCommandLine(VOID); |
|
Вернуться к началу |
|
|
Alexy
Зарегистрирован: 22.10.2003 Сообщения: 48
|
Добавлено: Пт Фев 01 2002 11:24 Заголовок сообщения: Re: Visual C++ |
|
|
The GetCurrentDirectory function retrieves the current directory for the current process.
DWORD GetCurrentDirectory( DWORD nBufferLength, // size, in characters, of directory buffer LPTSTR lpBuffer // pointer to buffer for current directory );
The GetCommandLine function returns a pointer to the command-line string for the current process.
LPTSTR GetCommandLine(VOID); |
|
Вернуться к началу |
|
|
|