-
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
-
LR (0) to the table automatically. Console input must be strictly adhered to. Gr...
LR(0)表的自动实现.控制台输入必须严格遵守.grammar 类的实现是本程序的关键-LR (0) to the table automatically. Console input must be strictly adhered to. Grammar category is the realization of this program the key
- 2022-08-19 13:26:05下载
- 积分:1
-
使用c++编写的Pos机前台程序。自带小型汉字库,可在控制台上直接运行...
使用c++编写的Pos机前台程序。自带小型汉字库,可在控制台上直接运行-use Pos c prepared by the procedures for the future. Store bringing their small, the console directly operation
- 2022-08-09 02:55:41下载
- 积分:1
-
turn off the computer by the script .vbs
turn off the computer by the script .vbs
- 2022-12-27 07:45:03下载
- 积分:1
-
ESC / POS编程指南,克
esc/pos programmi,g guide
- 2022-05-09 10:48:52下载
- 积分:1
-
使用delphi编写的语音应答
使用delphi编写的语音应答-prepared by the use of voice response
- 2022-01-26 19:57:24下载
- 积分:1
-
inverse kinematics genetic algorithms
逆运动学遗传算法matlab仿真
- 2022-08-17 05:00:20下载
- 积分:1
-
鼠标监听程序,向你展示最基本的操作功能。
鼠标监听程序,向你展示最基本的操作功能。-Mouse listener to show you the most basic operating functions.
- 2023-02-05 15:30:03下载
- 积分:1
-
能够读取文本,但读完后会出现乱码,请高手帮忙修改.
能够读取文本,但读完后会出现乱码,请高手帮忙修改.-can read text, but will happen after the completion of gibberish, please help master change.
- 2022-03-25 05:08:38下载
- 积分:1
-
《Visual C++网络通信》中所有例子配套代码,请安下心学习和看明白,这本书所讲的还不错...
《Visual C++网络通信》中所有例子配套代码,请安下心学习和看明白,这本书所讲的还不错-"Visual C communications network," all the examples supporting code, requests are determined to learn and understand this, this book also stresses the good
- 2022-06-18 14:00:33下载
- 积分:1