andreas_gierisch
Erfahrenes Mitglied
das klingt schonmal nich schlecht, was in der msdn steht. Das Problem ist, ich habe noch nie mit Handles gearbeitet. Kennt jemand ein leicht zu verstehendes Tutorial dazu? (möglichst in deutsch)
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Dann iss meine MSDN vom letzten JahrtausendNein, named pipes kannst Du auf jedem (neueren) Windows verwenden, ich glaube, in jedem 32-Bit Windows (und natürlich 64-Bit).
HANDLE pipe1 = CreateNamedPipe("\\\\.\\pipe\\pipe1", PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, 5, 500, 500, NMPWAIT_USE_DEFAULT_WAIT, NULL);
DWORD bytes;
LPTSTR input;
LPTSTR output;
output = "test";
CallNamedPipe("\\\\.\\pipe\\pipe1", input, 500, output, 5*sizeof(TCHAR), &bytes, NMPWAIT_NOWAIT)
ConnectNamedPipe(pipe1, NULL)
HANDLE HPipe;
HPipe = CreateFile("\\\\.\\pipe\\pipe1", FILE_ALL_ACCESS, FILE_SHARE_READ |
FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL,
NULL);
LPDWORD writtenbytes;
WriteFile(HPipe,"Test",5,writtenbytes,NULL);