-
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
-
Video processing platform, you can open the avi files, dynamic display frames to...
视频处理平台,可以打开avi文件,动态显示帧数,观察前一帧,后一帧等,可以再这上面进行后续开发-Video processing platform, you can open the avi files, dynamic display frames to observe the previous one, the latter one, could be something like that and then follow-up development
- 2023-06-19 19:10:05下载
- 积分:1
-
使用方便,可以实时传送数据并曲线显示,可以适用于单片机串口通信的数据显示等。...
使用方便,可以实时传送数据并曲线显示,可以适用于单片机串口通信的数据显示等。-Easy to use, you can send real-time data and curves show that can be applied to microcontroller serial communication of data displays.
- 2022-03-04 01:01:29下载
- 积分:1
-
Shuttle Radar Topography Mission
Shuttle Radar Topography Mission
- 2022-02-05 06:30:22下载
- 积分:1
-
教你如何用C++中的File类Wave类Rect类,对于初学网络开发的人会有些帮助...
教你如何用C++中的File类Wave类Rect类,对于初学网络开发的人会有些帮助-Teach you how to use C++ The File Class Wave-type Rect class, network development for the beginner who might be helpful
- 2022-03-13 20:32:29下载
- 积分:1
-
很好的垃圾收集源代码
很好的垃圾收集源代码-good garbage collection source code
- 2022-07-27 20:07:15下载
- 积分:1
-
驻波演示图,一个很浅显易懂的程序;怎么还不够20个字啊
驻波演示图,一个很浅显易懂的程序;怎么还不够20个字啊-a demonstration of stationary wave
- 2023-08-14 22:25:02下载
- 积分:1
-
js实现日期控件,能够自动选择日期,
js实现日期控件,能够自动选择日期,-js to achieve the date of control, able to automatically select the date,
- 2022-02-24 22:55:43下载
- 积分:1
-
MFC视图类添加插入符
在视图中任意位置进行插入字符操作,基于MFC的单文档基本程序框架,适合有兴趣的下载查看,适合入门,代码简单易懂。
- 2022-09-28 22:25:09下载
- 积分:1
-
一个定时运行的系统服务源码
一个定时运行的系统服务源码,自动拷贝、替换、移除指定文件。
- 2023-04-06 19:45:03下载
- 积分:1