G
Guest
Hi
I am learning and trying to build an application in Visual Basic .NET for inter-process communication using Named Pipes. Is there a sample code on MSDN or anywhere whcih I can refer to?
Due to (apparent) lack of a Visual Basic .NET sample code on this topic, I am refering to Visual Basic 6.0 sample from MSDN. However, I am unable to create a named pipe using the CreateNamedPipe function as I am getting an error while passing security attribute (last argument) to CreateNamedPipe(szPipeName, dwOpenMode, dwPipeMode, 10, 10000, 2000, 10000, sa). Is there a way I can pass NULL to it, considering that Visual Basic .NET does not allow NULL?
Thanks
Rahul.
I am learning and trying to build an application in Visual Basic .NET for inter-process communication using Named Pipes. Is there a sample code on MSDN or anywhere whcih I can refer to?
Due to (apparent) lack of a Visual Basic .NET sample code on this topic, I am refering to Visual Basic 6.0 sample from MSDN. However, I am unable to create a named pipe using the CreateNamedPipe function as I am getting an error while passing security attribute (last argument) to CreateNamedPipe(szPipeName, dwOpenMode, dwPipeMode, 10, 10000, 2000, 10000, sa). Is there a way I can pass NULL to it, considering that Visual Basic .NET does not allow NULL?
Thanks
Rahul.