-
win开发用简易日志软件
简易日志显示软件。
支持显示日志、保存日志到文件、udp方式接收日志,支持显示日志网络来源。
本地调用:任何win软件使用如下函数,即可向该软件发送日志数据,日志软件会显示并保存到指定文件中。
int WriteLog(DWORD LogType, char* lpszFormat, ...)
{
static HWND m_hWndLog = NULL;
if (m_hWndLog == NULL)
{
m_hWndLog = ::FindWindowA(NULL, "Stk1Log");
if (m_hWndLog == NULL)
{
char cCurPath[MAX_PATH];
if (GetCurrentDirectoryA(MAX_PATH, cCurPath) > 0)
{
char cExePath[MAX_PATH];
wsprintfA(cExePath, "%sstk1Log.exe", cCurPath);
WinExec(cExePath, SW_SHOW);
m_hWndLog = ::FindWindowA(NULL, "Stk1Log");
if (m_hWndLog == NULL)
{
// AfxMessageBox("无法找到Stk1Log.exe用于显示日志!");
return -1;
}
}
}
}
else
{
if (IsWindow(m_hWndLog) == FALSE)
{
m_hWndLog = NULL;
m_hWndLog = ::FindWindowA(NULL, "Stk1Log");
if (m_hWnd
- 2022-07-25 17:36:54下载
- 积分:1
-
Program features in the Visual C++ In the realization of multi
程序功能是在Visual C++中实现对多画面窗口的控制。运行环境为Windows2000/XP,Visual C-Program features in the Visual C++ In the realization of multi-screen control window. Runtime environment for Windows2000/XP, Visual C
- 2023-03-01 10:15:03下载
- 积分:1
-
深入浅出MFC学习
深入浅出MFC学习-easy to learn MFC
- 2022-01-26 04:33:56下载
- 积分:1
-
100个经典程序,主要是由C语言编写的经典程序,由易到难,非常适合新手学习...
100个经典程序,主要是由C语言编写的经典程序,由易到难,非常适合新手学习-100 classic program, mainly by the C language written in the classic procedure, Youyidaonan very suitable for novice to learn
- 2022-01-26 03:28:25下载
- 积分:1
-
QT pictrans compiled using QT graphical example can be picture has brought about...
用QT编译的pictrans图形示例,可以给图片带来透明度,可以看到底图
- 2022-11-20 23:35:03下载
- 积分:1
-
一般的9
一般的9-7小波滤波器及其图像压缩性能研究,introduce the wavelet filters and its application in image processing-general 9-7 wavelet filter and image compression performance research, and introduce the wavelet filters and its application in image processing
- 2022-07-01 16:26:59下载
- 积分:1
-
在about里面用html作连接
在about里面用html作连接-about the inside for connecting with html
- 2023-05-24 19:35:03下载
- 积分:1
-
留言板 v0.0.1
精简的增删改查,适合asp程序员快速理解asp.Net
留言板 v0.0.1
精简的增删改查,适合asp程序员快速理解asp.Net -Message Board v0.0.1 streamlined additions and deletions to search for asp programmers quickly understand asp.Net
- 2023-03-20 11:20:02下载
- 积分:1
-
基于PCA法的人脸识别,对本科毕业设计具有参考价值(含源代码和实验图片)...
基于PCA法的人脸识别,对本科毕业设计具有参考价值(含源代码和实验图片)-based PCA Face Recognition Act, the undergraduate graduation design reference value (including source code and experimental Photo)
- 2022-04-06 15:16:53下载
- 积分:1
-
学习VC++写的一个例子,适合初学者参考,代码不是很复杂,但是确实是一步一步写的。...
学习VC++写的一个例子,适合初学者参考,代码不是很复杂,但是确实是一步一步写的。-learning VC++ to write an example for beginners reference code is not very complicated. But step by step, is written.
- 2022-07-14 16:22:29下载
- 积分:1