-
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
-
VC中的串口派生类
VC中的串口派生类-VC Serial derived class
- 2022-06-20 08:56:17下载
- 积分:1
-
一个用标准c编写的通讯录程序,环境Turbo C,通讯录系统中保存着各人员的姓名、电话、住址、邮编等信息,通过该系统的界面可以浏览这些信息,也可以插入、添加及删...
一个用标准c编写的通讯录程序,环境Turbo C,通讯录系统中保存着各人员的姓名、电话、住址、邮编等信息,通过该系统的界面可以浏览这些信息,也可以插入、添加及删除某个人员的信息-c a standard procedure to prepare the directory, the environment Turbo C, Contacts system with the officers to keep the name, telephone, address, zip code and other information. The system interface can access the information, can also insert, add and delete certain personnel information
- 2022-02-06 05:24:41下载
- 积分:1
-
该程序能让你将一个小数的整数部分每个三位加一个逗号显示。很好的字符串处理小程序。...
该程序能让你将一个小数的整数部分每个三位加一个逗号显示。很好的字符串处理小程序。-The program allows you to a decimal integer part of each of the three shows plus a comma. Very good deal with a small string procedures.
- 2023-08-21 14:35:04下载
- 积分:1
-
升级组件源代码,需要的朋友可以参考一下。包含客户端和服务端。...
升级组件源代码,需要的朋友可以参考一下。包含客户端和服务端。-Upgrade components of the source code, need a friend for reference. Contains client and server.
- 2022-07-24 00:27:43下载
- 积分:1
-
远程监控程序。rar
远程监控程序.rar-remote monitoring procedures. Rar
- 2023-02-15 14:30:04下载
- 积分:1
-
a multi
一个JAVA实现的多图片广告展示的小程序。可用来实现多张图片的展示。-a multi-picture display of a small advertising procedures. Can be used to achieve more pictures in the display.
- 2022-06-18 02:19:09下载
- 积分:1
-
prepared by the small alarm clock procedures
一个用C++编写的小时钟程序-prepared by the small clock procedures
- 2022-01-24 18:34:30下载
- 积分:1
-
fortran编写的相场法模拟剪切流的程序
fortran编写的相场法模拟剪切流的程序,由C-H方程来模拟了剪切流场中界面捕捉的过程,简单易学,非常适合初学者学习
- 2022-02-21 10:08:37下载
- 积分:1
-
huffman
完成对二进制的编码 输出二进制代码在屏幕上
huffman
完成对二进制的编码 输出二进制代码在屏幕上
-huffman coding binary output of complete binary code on the screen
- 2022-02-05 03:18:46下载
- 积分:1