Re: Trouble with pipes II

Tech-Archive recommends: Fix windows errors by optimizing your registry



Didn't you look at my answer for your previous message ?
Arkady

<Richard@xxxxxxxxxxxxx> wrote in message
news:211F0704-9AEB-483F-86A1-DB179F5FCE12@xxxxxxxxxxxxxxxx
> My server app runs
> hPipe = CreateNamedPipe(
> TEXT("\\\\.\\pipe\\fppipe"), // pipe name
> PIPE_ACCESS_DUPLEX | // read/write access
> FILE_FLAG_WRITE_THROUGH, // write through mode
> PIPE_TYPE_MESSAGE | // message-type pipe
> PIPE_READMODE_MESSAGE | // message-read mode
> PIPE_NOWAIT, // non-blocking mode
> PIPE_UNLIMITED_INSTANCES,// number of instances
> BUFSIZE*sizeof(TCHAR), // output buffer size
> BUFSIZE*sizeof(TCHAR), // input buffer size
> 2000, // client time-out
> NULL); // default security attributes
>
> from an XP Pro (non-SP2) PC.
> When I try to connect my client XP Pro (non-SP2) PC using
>
> m_hFPPipe = CreateFile(
> pipe, // server pipe name
> FILE_READ_DATA | // read and write access
> FILE_WRITE_DATA,
> 0, // no sharing
> NULL, // default security attributes
> OPEN_EXISTING, // opens existing pipe
> 0, // default attributes
> NULL); // no template file
>
> it returns invalid handle and GetLastError returns: "Logon failure:
> unknown
> user name or bad password."
>
> Both PC's are non-domain (WORKGROUP) networked and I can share folders
> between them succesfully. They're both setup with one admin account with
> blank passwords. Is there a setting somewhere to allow remote access to
> the
> server? Or do I need to modify the parameters to the function calls?
>
> Thanks in advance!
>
> Richard Wilder
>


.



Relevant Pages

  • Trouble with pipes II
    ... When I try to connect my client XP Pro (non-SP2) PC using ... it returns invalid handle and GetLastError returns: "Logon failure: unknown ...
    (microsoft.public.win32.programmer.networks)
  • Re: Upgrading XP Home OEM to PRO
    ... > upgrade an existing XP Home w/SP2 installation using ... > a non-SP2 version of XP Pro. ...
    (microsoft.public.windowsxp.general)