- 博客(10)
- 资源 (1)
- 收藏
- 关注
转载 nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined问题解决
如果开始用了一个ATL的Dll工程,然后为了在这个dll工程里面使用MFC,在里面加入MFC支持在stdafx.h的atlbase.h前面加入#include // MFC core and standard components#include // MFC extensions#include // MFC Automation extensions那么就会出现错误,例如nafxcw.l
2010-02-08 09:56:00
1198
转载 SQLDMO使用說明
一、引用SQLDMO 1.Project-->References-->Microsoft SQLDMO Object Library 2.指C:/Program Files/Microsoft SQL Server/80/Tools/Binn/SQLDMO.DLL 二、簡要說明 1.SQLDMO.SQLServer.LoginSecure SQL server的驗證模式 Syntax:objec
2010-02-03 10:52:00
575
转载 VC6.0访问Access笔记
访问Access2000需要加入AfxGetModuleState()->m_dwVersion = 0x0601; COleVariant 转换为CString 需要将Unicode转换为ANSI
2010-01-21 17:44:00
297
原创 服务启动后禁用控制面板服务管理器停止按钮
SERVICE_STATUS m_status;m_status.dwControlsAccepted = 0;//SERVICE_ACCEPT_STOP;::SetServiceStatus(m_hServiceStatus, &m_status);
2010-01-18 11:49:00
540
转载 ado连接字符串建立对话框
// dd.cpp : Defines the entry point for the console application.//#include "stdafx.h" #include "stdio.h" #include "conio.h"// #import ADO.#undef EOF#import "d:/program files/comm
2009-12-30 17:09:00
354
翻译 使用CVSListBox时出现afxVSListBox.cpp assert错误
Resource View -> -> Right mouse button click -> Resource Includes ... -> To compile-time directives widow add next code: #ifndef _AFXDLL#include "afxribbon.rc" // Ribbon and control bars#endif原帖地址http
2009-10-21 15:19:00
785
原创 OutPutDebugString显示行号
void DbgOutPrint(PCHAR szFile,int line,const char * format,...){#define MAX_DBG_MSG_LEN (1024) char buf[MAX_DBG_MSG_LEN],buf1[MAX_DBG_MSG_LEN]; va_list ap; va_start(ap, format);
2009-06-23 13:00:00
490
转载 Shell右键菜单获取快捷方式(LNK文件)的实际路径
IContextMenu with a shortcut and another file/folder selected - Craig Peterson http://www.eggheadcafe.com/software/aspnet/31959224/icontextmenu-with-a-short.aspx 1) Register as a handler for both "*"
2009-06-17 10:50:00
1415
转载 InstallShield 6.2 创建卸载快捷方式
InstallShield的安装程序在安装的时候为自己在x:/Program Files/ InstallShield Installation Information/{GUID}下作了一个备份(GUID:InstallShield为每一个安装工程自动生成了一个GUID),而且,安装程序的Setup.exe只要带上-uninst参数,就成了反安装程序了(不知道Windows中添加/删
2009-06-16 15:05:00
621
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人