Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.06.05;
Скачать: CL | DM;

Вниз

Кто подскажет ф-цию аналог команды net send   Найти похожие ветки 

 
Is   (2003-03-13 18:35) [0]

?


 
AK74   (2003-03-13 18:42) [1]

NetMessageBufferSend из netapi32.dll


 
Is   (2003-03-13 18:49) [2]

Спасибо как бы ещё ей воспользоваться ? :о)


 
LeReve ©   (2003-03-14 11:23) [3]

The NetMessageBufferSend function sends a buffer of information to a registered message alias.

Security Requirements

No special group membership is required to execute NetMessageBufferSend on a LAN Manager or Windows NT system. Admin, Accounts, Print, or Server operator group membership is required to successfully execute NetMessageBufferSend on a remote server.

NET_API_STATUS NetMessageBufferSend(

LPTSTR servername,
LPTSTR msgname,
LPTSTR fromname,
LPBYTE buf,
DWORD buflen
);


Parameters

servername

Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.

msgname

Pointer to a Unicode string containing the message name to which the message buffer should be sent.

fromname

Pointer to a Unicode string containing the message name sending the information. The fromname parameter is new for Windows networking. This parameter is needed for sending interrupting messages from the computer name rather than the logged on user. If NULL is specified, the message is sent from the logged-on user as with LAN Manager 2.x.

buf

Pointer to a buffer of message text.

buflen

The length, in bytes, of the message text in buf.


 
sanya   (2003-04-02 18:34) [4]

А чем тебе не нравится net send?
uses
..., ShellAPI;

<...>

procedure send_message(AppHWND: HWND; Host: string; Msg: string);
begin
ShellAPI.ShellExecute(AppHWND,"open",PChar("net"),PChar("send "+Host+" ""+Msg),nil,SW_HIDE);
end;
<...>


вызов такой:

send_message(Handle,"localhost","Собственно, сообщение");


 
Songoku ©   (2003-04-02 19:06) [5]

А для чего это функция(NetMessageBufferSend) вобще???


 
sucer   (2003-04-03 05:24) [6]

Удалено модератором
Примечание: Задай свой вопрос в отдельной ветке



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

Текущий архив: 2003.06.05;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.014 c
1-13163
KMI
2003-05-26 12:31
2003.06.05
Открытие файла в своем приложении


1-13210
jack100
2003-05-27 11:43
2003.06.05
Раскладка клавиатуры


8-13340
K-Sergey
2003-02-21 14:04
2003.06.05
Как можно картинку сделать фоновым рисунком TMemo?


6-13357
UfoManager
2003-04-03 19:01
2003.06.05
Работа с IE


8-13331
[MGS]~Vic
2003-02-12 14:07
2003.06.05
MDL