ChiliPequin
asked on
Named Pipes Application Run on Windows 7 Virtual PC.
Hi Experts,
I have an MFC application that uses Named Pipes. It is working fine on a stand alone PC. I try to use this same application on a Windows 7 Virtual workstation, but the message from the pipe client is not always sent to the same the virtual workstation. What should I do to get this to work correctly?
Thanks in advance.
I have an MFC application that uses Named Pipes. It is working fine on a stand alone PC. I try to use this same application on a Windows 7 Virtual workstation, but the message from the pipe client is not always sent to the same the virtual workstation. What should I do to get this to work correctly?
Thanks in advance.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This approach seems to solve the problem.
ASKER
Both the client and the server reside in the same session of the Virtual Workstation. Currently, the server uses the CreateNamedPipe with the name: LPTSTR lpszPipeName = TEXT("\\\\.\\pipe\\myPipeA
I am thinking of replacing the . in the pipename to the IP address of the session on the V-workstation, but the create fails with error 123 when the . is replaced with the ip address like LPTSTR lpszPipeName = TEXT("\\\\12.34.567.89\\pi
Thanks.