Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Потрепаться";
Текущий архив: 2003.02.10;
Скачать: [xml.tar.bz2];

Вниз

Какие параметры у функции ShellExecute   Найти похожие ветки 

 
Anton   (2003-01-23 10:54) [0]

1


 
MBo   (2003-01-23 12:36) [1]

именно такие, как в хелпе написано


 
Anatoly Podgoretsky   (2003-01-23 12:56) [2]

Так это же надо самому смотреть.
Я не халявщик, я партнер.


 
Opuhshii   (2003-01-23 16:20) [3]

ctrl+shift+space


 
myor   (2003-01-23 17:05) [4]

в help шагом марш!
и без ответа не возвращайся!!


 
gsu   (2003-01-23 17:10) [5]

>> Какие параметры у функции ShellExecute
формальные, ...


 
Игорь Шевченко   (2003-01-23 17:22) [6]

gsu © (23.01.03 17:10)

По пятницам - фактические. Доживем до завтра :-)


 
Anton   (2003-01-25 16:04) [7]

Не могу запустить вот такую штуку, то есть если перед exeшником нужно писать какие либо параметры ShellExecute не работает
echo Привет! | sms.exe -h -X proxy:3128 9012345


 
Anatoly Podgoretsky   (2003-01-25 16:19) [8]

Да вполне нормальные параметры


 
Anton   (2003-01-25 16:25) [9]

Параметры то нормальные, а запускаться через ShellExecute ни как не хочет


 
Anatoly Podgoretsky   (2003-01-25 16:33) [10]

Ну так наверно неверно вызываешь


 
Сатир   (2003-01-25 16:42) [11]

The ShellExecute function opens or prints a specified file. The file can be an executable file or a document file. See ShellExecuteEx also.

HINSTANCE ShellExecute(

HWND hwnd, // handle to parent window
LPCTSTR lpOperation, // pointer to string that specifies operation to perform
LPCTSTR lpFile, // pointer to filename or folder name string
LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
LPCTSTR lpDirectory, // pointer to string that specifies default directory
INT nShowCmd // whether file is shown when opened
);


Parameters

hwnd

Specifies a parent window. This window receives any message boxes that an application produces. For example, an application may report an error by producing a message box.

lpOperation

Pointer to a null-terminated string that specifies the operation to perform. The following operation strings are valid:

String Meaning
"open" The function opens the file specified by lpFile. The file can be an executable file or a document file. The file can be a folder to open.
"print" The function prints the file specified by lpFile. The file should be a document file. If the file is an executable file, the function opens the file, as if "open" had been specified.
"explore" The function explores the folder specified by lpFile.


The lpOperation parameter can be NULL. In that case, the function opens the file specified by lpFile.

lpFile

Pointer to a null-terminated string that specifies the file to open or print or the folder to open or explore. The function can open an executable file or a document file. The function can print a document file.

lpParameters

If lpFile specifies an executable file, lpParameters is a pointer to a null-terminated string that specifies parameters to be passed to the application.
If lpFile specifies a document file, lpParameters should be NULL.

lpDirectory

Pointer to a null-terminated string that specifies the default directory.

nShowCmd

If lpFile specifies an executable file, nShowCmd specifies how the application is to be shown when it is opened. 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. <...>
есчё?



Страницы: 1 вся ветка

Форум: "Потрепаться";
Текущий архив: 2003.02.10;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.47 MB
Время: 0.009 c
3-28666
lats
2003-01-24 09:10
2003.02.10
BDE не видит InterBase


14-29061
Wonder
2003-01-23 12:04
2003.02.10
Жуткие непонятки с Win Ме


7-29120
Safonov
2002-12-05 16:41
2003.02.10
программирование Com порта на asm е


1-28882
Noname2
2003-01-24 13:45
2003.02.10
Торможжууууууу


3-28640
_landy
2003-01-23 09:12
2003.02.10
Query из VirtualTable





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский