-
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
-
如何提高自身的事件发生
How to raise event in self make components
- 2022-07-23 12:38:11下载
- 积分:1
-
可以进行浮点数的四则运算,稍微修改一下就可以做一个简单的计算机器了...
可以进行浮点数的四则运算,稍微修改一下就可以做一个简单的计算机器了-can float for the four operations, a slight change it can be done on a simple computer for the
- 2023-01-14 21:05:03下载
- 积分:1
-
qt5 开发的excel插件使用
资源描述这是在qt5平台上开发,利用excel插件开发的应用程序。该程序需要在windows上安装了对应的excel阅读器,并引导出对应的头文件进行开发,工程里包含了excel的头文件,可以直接用,希望可以帮助到大家!
- 2022-02-27 07:59:33下载
- 积分:1
-
用VB模拟Vista的玻璃窗口.zip
用VB模拟Vista的玻璃窗口.zip-VB simulation using Vista
- 2023-05-08 02:20:03下载
- 积分:1
-
用VB5.0收集键盘和鼠标信息
用VB5.0收集键盘和鼠标信息-VB5.0 collection with keyboard and mouse information
- 2022-02-02 00:40:44下载
- 积分:1
-
shuffle 5 cards and get bigger number than your opponent, easy example how to cr...
shuffle 5 cards and get bigger number than your opponent, easy example how to create blackjack game
- 2022-02-14 02:57:48下载
- 积分:1
-
本程序可以手动调配颜色,并可混合之,观察名种不同颜色的混合效果,从而逆推alpha值...
本程序可以手动调配颜色,并可混合之,观察名种不同颜色的混合效果,从而逆推alpha值-the procedures manual deployment of colors and can mix short, observations were different colors mixed results, thus Backstepping alpha values
- 2022-12-03 14:30:03下载
- 积分:1
-
网页菜单工厂(WebMenuShop) V2[1].50.zip
网页菜单工厂(WebMenuShop) V2[1].50.zip-website menu factories (WebMenuShop) V2 [1] .50. Zip
- 2022-03-20 17:12:17下载
- 积分:1
-
麦格劳
McGraw-Hill Osborne - MCSE Windows XP Professional Study Guide-McGraw-Hill Osborne- MCSE Windows XP Professional Study Guide
- 2023-08-08 20:35:07下载
- 积分:1