Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.006 c
3-99911
BFG
2001-12-30 18:58
2002.01.31
Base


1-99978
Leviathan
2002-01-01 04:27
2002.01.31
Много таймеров


1-99950
dim2001
2002-01-13 20:28
2002.01.31
Запись в файл


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


1-99926
NLO
2002-01-11 12:59
2002.01.31
OpenDialog с возможностью предосмотра




   Наверх