rt
自己写的windows服务每次都比oracle数据库先启动,于是读数据库就失败,有没有什么好的方法?
自己写的windows服务每次都比oracle数据库先启动,于是读数据库就失败,有没有什么好的方法?
解决方案 »
- 倾其所有分问个客户端自动建立网络连接的问题
- 周末HAPPY
- 欢迎进我的C/C++/VC++群20962975
- 100分求高手赐予通过yahoo邮箱发送邮件的代码,或者给个提示?
- 为什么我的Spi程序中(要在缓冲区后面多加几个字节),为什么一启动CS测试时,就会出错呢?
- 急!急!急!求助高手:如何通过代码将用户赋予文件夹与子文件夹和文件???熟悉SetSecurityDescriptorDacl的也请入
- pDb->ExecuteSQL(strSql)中,sql语句strSql中怎样可以实现像java中的String strSql="Insert into table(col) values("+colVal+")";
- I/O completion port如何翻译
- 在有滚动条的窗口中,如何设置窗口的大小超过显示器的大小?
- Win2K下如何拦截系统对AfxMessageBox的调用??
- 基于对话框窗口最小化还原如何让消息不传递给子窗口?
- 如何判断当前活动控件的种类
LoadOrderGroupDependencies
__in SC_HANDLE hSCManager,
__in LPCTSTR lpServiceName,
__in_opt LPCTSTR lpDisplayName,
__in DWORD dwDesiredAccess,
__in DWORD dwServiceType,
__in DWORD dwStartType,
__in DWORD dwErrorControl,
__in_opt LPCTSTR lpBinaryPathName,
__in_opt LPCTSTR lpLoadOrderGroup,
__out_opt LPDWORD lpdwTagId,
__in_opt LPCTSTR lpDependencies, // see this member
__in_opt LPCTSTR lpServiceStartName,
__in_opt LPCTSTR lpPassword
);
lpDependencies A pointer to a double null-terminated array of null-separated names of services or load ordering groups
that the system must start before this service. Specify NULL or an empty string if the service has no dependencies.
Dependency on a group means that this service can run if at least one member of the group is running after an
attempt to start all members of the group. You must prefix group names with SC_GROUP_IDENTIFIER so that they can be distinguished from a service name,
because services and service groups share the same name space.
我用的是CDatabase类,数据库是oracle