SIMPLE IPC CLIENT IN visual studio 2015

HI,

Is it possible to have an example of basic client IPC C++ in Visual Studio 2015 without wxwidgets ?

Best Regards,
Fabien

#2

Hi,
I tried with the example
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365592(v=vs…
by replacing LPTSTR lpvMessage=TEXT("Default message from client.");
with
LPTSTR lpvMessage=TEXT("LIST");
and
LPTSTR lpszPipename = TEXT("\\\\.\\pipe\\mynamedpipe");
with
LPTSTR lpszPipename = TEXT("\\\\.\\pipe\\vhclient");
I have an answer but it is understandable.

Best regards,
Fabien

#3

Hi Fabien, sure, you can use any language, the pipe is actually just like a normal file. You open the vhclient pipe, write a command to it and then read the pipe afterwards. The output of the read is the same text as shown by running the vhui64.exe -t command