Click here to Skip to main content
16,018,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,actuallay I would like to write a windows service to read some data from PLC and write those datas to oracle with blob format.I need documention showing steps how to create a windows service.

What I have tried:

ı try in vs 2012 express for desktop
Posted
Updated 1-Nov-17 22:41pm

 
Share this answer
 
Although you should consider writing apps for Windows with C#, as you will find a lot of resources. The following articles are already available on CodeProject that you can use to learn, and even try out by downloading the sample codes from these articles.

Simple Windows Service in C++[^]
Interact with Windows services in C++[^]
Simple Windows Service in C++[^]
A basic Windows service in C++ (CppWindowsService) sample in C++ for Visual Studio 2008[^]
 
Share this answer
 
Comments
CPallini 2-Nov-17 5:00am    
5.
Afzaal Ahmad Zeeshan 2-Nov-17 7:13am    
Thank you.
Member 12054494 2-Nov-17 7:37am    
I wrote wincodws service in C# before but I have open source of a service written in C++ and I try to understand how it is working
Afzaal Ahmad Zeeshan 2-Nov-17 7:43am    
Consider using CLR version of C++, that will let you consume the C++ components in C# project.
Member 12054494 2-Nov-17 8:38am    
A basic Windows service in C++ (CppWindowsService) sample in C++ for Visual Studio 2008[^] from this link I got something now it is more clear now but there are other things to be achieved(oracle and plc connection )

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900