如题
解决方案 »
- 关于CDateTimeCtrl 发送DTN_DATETIMECHANGE消息 为什么发送2次啊
- 驱动程序怪异错误
- ActiveX莫名其妙不能注册了,这是什么原因啊。
- 在对话框里,在richedit输入汉字保存后,打开是乱码,请问如何解决,谢谢!
- 这个问题震得这么难吗?关于网页中Flash菜单扩展的问题?
- 100分:新手求教三个子菜单问题,在线等!
- 散分!
- 菜鸟一问(在线等待):关于Combo Box的只读属性,谢谢!
- sleep一问!
- 为什么在win32 Release下编译程序出现这样的警告:<br>LINK : warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- 请问高手,如何监视某一程序执行了某个操作?比如监视photoshop执行了保存操作?内容如题。
- 程序在开发环境下可以,在实际环境运行2、3天后出错(Visual C++ Runtime Library)
DWORD dwFlags, // source and processing options
LPCVOID lpSource, // pointer to message source
DWORD dwMessageId, // requested message identifier
DWORD dwLanguageId, // language identifier for requested message
LPTSTR lpBuffer, // pointer to message buffer
DWORD nSize, // maximum size of message buffer
va_list *Arguments // pointer to array of message inserts
);
void GetError()
{
LPTSTR lpMsgBuf;
unsigned long i;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
i = GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
(LPTSTR) &lpMsgBuf,
0,
NULL
);
MessageBox(NULL,lpMsgBuf,"ERROR",MB_OK);
LocalFree( lpMsgBuf );
}