| Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате |
| Форум программистов > Delphi: Общие вопросы > Как распаковать RAR архив |
| Автор: DIMONSOFT 12.3.2005, 21:28 |
| Как распаковать RAR архив в ту папку, где он находится |
| Автор: NiJazz 12.3.2005, 21:47 | ||
DIMONSOFT
|
| Автор: Alex 12.3.2005, 22:15 |
| Перенесено из раздела Дельфи |
| Автор: Dr.No_xXx 14.3.2005, 15:53 | ||
а что за ноль в конце |
| Автор: Akella 14.3.2005, 16:09 |
| Выбери в IDE меню Help-Windows SDK Вырезка из справки UINT WinExec( LPCSTR lpCmdLine, // address of command line UINT uCmdShow // window style for new application ); Parameters lpCmdLine Points to a null-terminated character string that contains the command line (filename plus optional parameters) for the application to be executed. If the name of the executable file in the lpCmdLine parameter does not contain a directory path, Windows searches for the executable file in this sequence: 1. The directory from which the application loaded. 2. The current directory. 3. The Windows system directory. The GetSystemDirectory function retrieves the path of this directory. 4. The Windows directory. The GetWindowsDirectory function retrieves the path of this directory. 5. The directories listed in the PATH environment variable. uCmdShow Specifies how a Windows-based application window is to be shown and is used to supply the wShowWindow member of the STARTUPINFO parameter to the CreateProcess function. For a list of the acceptable values, see the description of the nCmdShow parameter of the ShowWindow function. For a non-Windows - based application, the PIF file, if any, for the application determines the window state. nCmdShow Specifies how the window is to be shown. This parameter is ignored the first time an application calls ShowWindow, if the program that launched the application provides a STARTUPINFO structure. Otherwise, the first time ShowWindow is called, the value should be the value obtained by the WinMain function in its nCmdShow parameter. In subsequent calls, this parameter can be one of the following values: Value Meaning SW_HIDE Hides the window and activates another window. SW_MAXIMIZE Maximizes the specified window. SW_MINIMIZE Minimizes the specified window and activates the next top-level window in the Z order. SW_RESTORE Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window. SW_SHOW Activates the window and displays it in its current size and position. SW_SHOWDEFAULT Sets the show state based on the SW_ flag specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application. SW_SHOWMAXIMIZED Activates the window and displays it as a maximized window. SW_SHOWMINIMIZED Activates the window and displays it as a minimized window. SW_SHOWMINNOACTIVE Displays the window as a minimized window. The active window remains active. SW_SHOWNA Displays the window in its current state. The active window remains active. SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The active window remains active. SW_SHOWNORMAL Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time. Иными словами, вместо цыфры можно поставить одну из этих констант. |
| Автор: NiJazz 14.3.2005, 16:09 |
| Dr.No_xXx Ну строка же нуль-терминальная. Шутка. Это второй аргумент функции WinExec. Смотри её описание. Добавлено @ 16:10 О, как раз для тебя тут описульку опубликовали. |
| Автор: RA 14.3.2005, 19:59 |
| http://www.rarlab.com/rar/TDFUnRar.zip |