AppEmit v 0.9.11 , 可以在浏览器调用本地应用程序 支持 调用开发串口 Pcomm.dll 等 更多主页 下载地址
支持多开跨线程异步调用
解决网页直播 ActiveX组件及dll ocx 等在Chrome、Edge新内核、360 、FireFox、IE等浏览器各版本中的嵌入 调用
并能在浏览器的js中控制 调用dll。
下面是调用 Pcomm.dll 示例 ( 若果没有串口,可以下载 VSPD 设置 com1-com2 互相调用信息, Configure Virtual Serial Port Driver)
同时可以在js中控制,其 Pcomm.dll 的原始函数如下
The PComm serial communication library is to assist users to develop programs for serial communications for any COM port complying with Microsoft Win32 API. It can ease the implementation of multi-process and multi-thread serial communication programs and hence greatly reduce the developing time. It is suitable for all Win32 compatible COM ports. The hierarchical diagram shows the PComm Library.
Application written in PComm | Application written in Win32 COMM API |
PComm | |
Windows 9x/NT/200/XP/2003/Vista COMM API | |
Windows 9x/NT/2000/XP/2003/Vista Serial Device Drivers |
PComm supports all Win32 platforms (including x86 and x64 platform):
/* PComm_c.h
* PComm define file for Win32 on C/C++
* History:
* Date Author Comment
* 10/22/1996 Victor wrote it.
* 03/28/1997 Victor modified. add sio_term_irq function.
* add sio_linput function.
* 04/29/1997 Victor modified. add sio_putb_x function.
* 05/21/1997 Victor modified. add sio_view function.
* 06/13/1997 Victor modified. add file transfer function.
* 06/30/1997 Victor modified.