0

I have implemented a service which transfers the file using socket to another computer. I want to provide GUI for the service. How may i do this?

My service is implemented in the C.

Andriy Tylychko
  • 15,967
  • 6
  • 64
  • 112

2 Answers2

0

Create a GUI app with whatever GUI libraries you favour, e.g. WinForms, MFC, VCL, ATL, Win32, Qt etc. Then communicate with your service using some form of IPC. Since you are already using sockets they would seem an obvious choice.

David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
0

On modern versions of Windows (2008/Vista+) you can't show a GUI from a service, so your GUI will have to be a separate process which will have to communicate with the service using some kind of IPC mechanism. You might use memory mapped files and regular windows messages.

MK.
  • 33,605
  • 18
  • 74
  • 111