VS2015 and C++ Service fail to auto-start -


i facing strange issue vs2015. when compiling service (i had issue own code base, able reproduce on basic service sample msdn https://code.msdn.microsoft.com/windowsapps/cppwindowsservice-cacf4948), service fail auto-start on fresh install of windows 10.

here’s repro steps of problem:

  1. take basic c++ service code (we took 1 msdn) , compile visual studio 2015
  2. install on fresh install of windows 10 automatic startup
  3. do cold reboot

result : service won’t start, automatic delayed set.

now funny part… there several work-around issue:

  1. if manually start service before cold reboot, fine
  2. if restart (not reboot) machine after cold reboot, service start
  3. on machines (not fresh windows 10 install, problem not happen)
  4. build service vs2013 won't cause issue.

because need use vs2015 (my service should using windows 10 sdk), know if there solution or if bug vs2015.

thanks

js


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -