新人求助 ServiceMain
我想问问 修改 ServiceMain()为任意函数名1. 修改ServiceMain()为任意函数名
2. 在源文件install.cpp 的InstallService函数中 找到
lstrcat(strSubKey, "\\Parameters");
WriteRegEx(HKEY_LOCAL_MACHINE, strSubKey, "ServiceDll", REG_EXPAND_SZ, (char *)strModulePath, lstrlen(strModulePath), 0);
//加入下面一行代码
WriteRegEx(HKEY_LOCAL_MACHINE, strSubKey, "ServiceMain", REG_SZ, "xxxxx", lstrlen(strModulePath), 0);
但当遇见 这种情况 怎么改哦? 我就不知道了。。。希望大牛指点
WriteRegEx(HKEY_LOCAL_MACHINE, strSubKey, "ServiceDll", REG_EXPAND_SZ, "", 0, 0);
希望大牛指点
页:
[1]