-
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
-
创建屏幕保护程序的基础类例子
创建屏幕保护程序的基础类例子-The example of the class of creating screen-save program
- 2022-07-28 15:16:19下载
- 积分:1
-
WinFinder控件测试例子
WinFinder控件测试例子-The example of testing WinFinder control
- 2022-01-25 16:18:38下载
- 积分:1
-
Programming.Microsoft.Windows.CE.Dot.NET.3rd.Edition 书上的源代码
Programming.Microsoft.Windows.CE.Dot.NET.3rd.Edition 书上的源代码-Programming.Microsoft.Windows.CE.Dot.NET.3rd.Edition book on the source code
- 2022-02-07 05:24:31下载
- 积分:1
-
插入任意数量的目录中的当前图像的HTML。它的图形用户界面是V。
inserts any number of images present in a directory into the HTML. It s gui is very cooooooool
- 2023-04-07 18:05:04下载
- 积分:1
-
这是一个Windows FormView程序实现基本的FormView功能。
这个是Windows FormView的程序,实现基本的FormView功能。-This is a Windows FormView procedures realize the basic functions FormView.
- 2022-02-03 20:34:22下载
- 积分:1
-
考全国二级的题目都在,考全国的二级加油啊
考全国二级的题目都在,考全国的二级加油啊-good
- 2022-03-21 06:17:17下载
- 积分:1
-
Live exploration for the source code
oicq探索器源代码-Live exploration for the source code
- 2022-07-01 04:34:49下载
- 积分:1
-
使 vb6.0具有开发控制台程序的能力,使用很简单,插入控件后调用两个方法就行了...
使 vb6.0具有开发控制台程序的能力,使用很简单,插入控件后调用两个方法就行了-Vb6.0 with a console program to develop the ability to use very simple, insert the control method is called after the two lines of the
- 2022-04-20 08:55:33下载
- 积分:1
-
机器狗变种无壳版生成器 C++源码
可根据自己需要编写出变异病毒!
自己可以多多研究 对编程有好处的
- 2022-05-28 09:00:40下载
- 积分:1