Skip to content
Sample of a wxWidgets-based Windows service
C++ C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
SampleWXService.cbp
logs.cpp
logs.h
service.cpp
service.h
simple_serial.cpp
simple_serial.h

README.md

sample-wxwidgets-windows-service

Sample of a wxWidgets-based Windows service

This sample of a Windows service was written using wxWidgets 3.0.2 and tested on Windows 7. I'm sure it will work on some other versions as well. The Code::Blocks IDE was used, which explains the project file *.cbp in the folder.

The code should be pretty well commented, although Windows services are not terribly easy to follow.

The code was built off of other code and information from these two sources, as well as many trips to the wxWidgets documentation and StackOverflow.

https://forums.wxwidgets.org/viewtopic.php?f=20&t=4375
http://www.codeproject.com/Articles/499465/Simple-Windows-Service-in-Cplusplus

I hope someone finds this useful.

Tim

You can’t perform that action at this time.