1.请问在VC的AppWizard中选择ATL->Service建立的服务程序,应该把自己的程序代码写在系统提供的哪个函数中?它提供的各个函数都是干什么用的?
2.我在Init()函数中加入了用ADO连接数据库的代码,编译成可执行文件时没报错。但是在执行注册时报错为:Runtime Error!Program:XXX.exe abnormal program termination.请问这是怎么回事?
2.我在Init()函数中加入了用ADO连接数据库的代码,编译成可执行文件时没报错。但是在执行注册时报错为:Runtime Error!Program:XXX.exe abnormal program termination.请问这是怎么回事?
解决方案 »
- 对话框窗口的现实问题
- 我在非模态对话框的OnCancel()中调用:
- 如何判断一个ip地址究竟是局域网外部地址还是内部地址?
- 关于msdn安装的问题!!
- 如何能让MDI的界面中每个View的标题栏上都有自己的Icon图标
- 有人有HOOK系统API的例子吗?不要CODEPROJECT的.
- 请大家帮忙看看?
- 哪里有Visual Studio 6.0的英文版下载?
- int fun(const int ¶) 中的&是为了传引用,使效率更高,而const是保证传进去的引用不可被修改。相当于int fun (int para)的增强版!!我说的对吗??
- 关于VC++的线程问题
- 散分了,如何将CString变量转换为Char*型变量??
- 请问将一个DWORD十进制整数转换成十六进制的函数是什么?
service usually run under local system account, make sure your service don't use resource binded to some other user accounts.(eg. dsn may only be visible to some certian user account, invisible to the local system account)