Windows service not running the way other services are

So I created a service with C++ using this sample as base:

Now it runs and self restarts how I want but the service always shows up on the process list as its exe name * 32 (As wow64 emulated processes run).

This service is compiled as x64 and running on 64 bit windows.

Why do other services launch from svchost and have “Host Process for Windows Services” as description on the right in task manager and my service is simply MyService * 32? I find it baffling because I barely changed the example.

Anyone know why this is happening?

Source: windows

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.