-
串口通信程序 VC + +
串行端口提供简便的方法,很多类型的硬件和您的计算机之间进行通信。他们是相对简单使用,都是很常见的外围设备和特别是 DIY 项目。许多平台如 Arduino 具有内置的串行通信,所以他们真的很容易设置和使用。很多时候您可能希望您的项目与您的计算机沟通,有一个很酷的交互式输出,一个整洁的传感器,能够将数据传递到您的计算机,或其他任何你所能梦想了。在本教程中,我将你走通过如何到到串行端口的接口上的东西,计算机端使用微软的。net 框架。在本教程中的代码示例是在 Visual c + +。
- 2023-04-17 11:25:03下载
- 积分:1
-
讨论Attribute的高级应用,代码演示了一个实际的例子:假设有一个订单处理系统,当一份订单提交的时候,系统检查库存,如果库存存量满足订单的数量,系统记录订单...
讨论Attribute的高级应用,代码演示了一个实际的例子:假设有一个订单处理系统,当一份订单提交的时候,系统检查库存,如果库存存量满足订单的数量,系统记录订单处理记录,然后更新库存,如果库存存量低于订单的数量,系统做相应的记录,同时向库存管理员发送邮件。
大致介绍了.NET Framework的对象调用拦截的实现机制,目的是让大家对这种机制有一个认识,通过代码的实现,可以看到消息如何被处理的过程。-Attribute to discuss high-level application code to demonstrate a practical example: Suppose there is a order processing system, when an order when submitted, the system checks inventory, if the inventory stock to meet the number of orders, the system record deal with record orders, and then update Stock, if the inventory stock is lower than the number of orders, the system to do the appropriate records, at the same time send a message to the Inventory Manager. Generally introduced. NET Framework object call interception mechanism to realize the aim is to enable everyone to have an understanding of such a mechanism, through the realization of the code, you can see how the news process.
- 2022-08-26 14:00:02下载
- 积分:1
-
mfc实例教程 ,0基础起步,从最基础的窗口代码开始
mfc实例教程 ,0基础起步,分析详细 ,代码十分清晰
- 2022-03-02 06:19:13下载
- 积分:1
-
实现方法:
用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC
EXE应用程序,把M...
实现方法:
用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC
EXE应用程序,把MFC EXE应用程序中
CAppView,CMainFrame,CAppDocument的文挡和RES目录下的资源拷贝到常规DLL项目中,添加到项目中,编译生成一DLL,在另外一个WIN32应用程序中,启动一线程,在线程函数中显式装载该DLL,取的该DLL内的当前线程,
CWinThread *pThread=GetCurrentThread()
pThread->Run()
就可装载启动常规DLL内应用程序框架.-Realize Methods: The MFC AppWizard to generate a conventional DLL, in the conventional DLL there is one derived from CWinApp instance, reuse of the MFC AppWizard to generate a MFCEXE applications, the MFC EXE application CAppView, CMainFrame, CAppDocument block of text RES directory and copy resources to the conventional DLL project, add to the project, the compiler generates a DLL, in another WIN32 application, start a thread in the thread function explicitly loading the DLL, check inside the DLL the current thread, CWinThread* pThread = GetCurrentThread () pThread-
- 2022-01-22 01:31:41下载
- 积分:1
-
代码1:本代码实现了以图形方式显示CPU与内存利用率。 代码2:近来我在用VC开发一套MIS时没有用MFC的文档视图模板,所以在打印这上面就只好自己写了一套,用...
代码1:本代码实现了以图形方式显示CPU与内存利用率。 代码2:近来我在用VC开发一套MIS时没有用MFC的文档视图模板,所以在打印这上面就只好自己写了一套,用起来感觉还可以,所以写出来大家一起修正一下吧,也许能给大家起点作用吧! 系统UI是基于对话框的,大家如果感觉不错可以进行自我修正! 代码3:编程时有时需要读取SQL服务器的目录及文件列表,特别作一些数据库备份程序的时候,本程序实现这个功能...... 代码4:TTS-文本语音转换。 代码5:本软件是一个用局网域发送信使服务的程序,用到了NET SEND网络命令和创建了一个进程和一个主线程。本软件一共两个线程,显示网络用户信息也用到了第二个线程主要用到的是NETBIOS会话。本程序是发布的DEBUG版如果有什么DEBUG请指出。本程序参考了VISUAL C++网络通信编程一书。 代码6:数据库连接 AD0。本包为数据连接,在您的程序中整体加入此包能帮您的数据库连接省n多代码 里面注释很规范, 请自己阅读。-a code : the source implementation of a graphic display of CPU and memory utilization. Code 2 : Recently, I developed a VC MIS without using MFC View template files, so that the print on the above but their set was used up feeling also, so we write together that so much today, we can perhaps starting role! UI system is based on then the box, if you can feel good for self-correction! code 3 : Programming sometimes need to read SQL server"s directory and list of documents, especially for some database backup procedures, the procedures for this function co
- 2022-03-24 19:05:28下载
- 积分:1
-
这是一个PC机通过RS232发送接收数据的程序。
这是一个PC机通过RS232发送接收数据的程序。-This is a PC through the RS232 send and receive data procedures.
- 2022-10-19 23:25:04下载
- 积分:1
-
正常开放
开源的 SIP 电话代码 -Open-source SIP phone code
- 2022-02-24 20:56:51下载
- 积分:1
-
FDC2214电容测量
利用STM32控制器,F1CRT6型号,控制FDC2214,来测量电容值,并通过OLED显示出来。
- 2022-03-09 17:24:55下载
- 积分:1
-
这个源码是用遗传算法对FCM 算法进行改进后的算法,实现了对脑图像的自动分割,速度较快...
这个源码是用遗传算法对FCM 算法进行改进后的算法,实现了对脑图像的自动分割,速度较快-the source is using genetic algorithms to FCM algorithm for improved algorithm, achieving the right brain"s automatic image segmentation, faster
- 2022-01-23 11:14:05下载
- 积分:1
-
windows interface programming interface imitation Kingsoft
windows界面编程,仿金山词霸的界面-windows interface programming interface imitation Kingsoft
- 2022-04-28 04:25:07下载
- 积分:1