Windows c++ service faulting on ucrtbase.dll when starting

会有一股神秘感。 提交于 2019-12-04 12:24:52

Kind of forgot about this post during my troubleshooting... Anyways, I figured it out. Comments above were spot on!

For me the buffer overflow came from me changing my service names, which also changed the program directory names. The error was happening when I was initializing my logging object in my service's constructor. I only have like 2 lines of code in the constructor, so I totally forgot to look there. Changed the hardcoded directory location where the log was being created, and it all started working great! Thanks guys for the helpful info!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!