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

Вниз

Работа с майлслотами   Найти похожие ветки 

 
Unforgiven ©   (2001-11-08 02:36) [0]

Name := "\\*\mailslot\nyslot";
Result :=
Windows.CreateMailslot(
PChar(Name),
400, // max msg size
0, // read timeout
nil
);
всегда возвращает -1 что здесь не верно?


 
Wonder ©   (2001-11-08 11:02) [1]

А причем здесь звезда в имени слота?
Ты же создаешь слот конкретно на текущей машине. Точка тама должна быть, а не звезда.

MSHandle := CreateMailSlot("\\.\mailslot\nyslot", 0, MAILSLOT_WAIT_FOREVER, PSecurityAttributes(Nil));

lpName -
Points to a null-terminated string specifying the name of the mailslot. This name must have the following form:

\\.\mailslot\[path]name




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

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

Наверх




Память: 0.46 MB
Время: 0.012 c
14-100041
SP
2001-12-06 15:31
2002.01.31
Может видели ссылку на C++ Builder?


7-100079
Serega_2
2001-10-22 13:31
2002.01.31
Работа с Word`ом


1-99990
Belov
2002-01-14 14:52
2002.01.31
TJpegImage


3-99853
kengura
2001-12-25 18:26
2002.01.31
SQL запросы insert и update и memo поля


14-100053
Arhelon
2001-12-10 08:29
2002.01.31
Помогите плз с Аьской (ActiveList)