Location:
Search - winapi
Search list
Description: 原本.net1.1都是采用justinIO.cs的,它调用的是winAPI,可能存在不同设备的兼容性问题。现在.net2直接在system.io.port下面有serialPort了,这样可以直接用。
鉴于.net2和.netCF2对于threading有不同的用法,所以两个版本都做了,分别是PC+.net2和wm5sp+.netcf2的。
由于smartphone的蓝牙都是默认com6和com7的,所以如果这个程序大家想用作蓝牙串行,在你们的桌面端蓝牙配置的时候要注意把虚拟串口重新定义到com6。具体做法以IVT Bluesoleil为例子,装好蓝牙驱动程序以后,会在设备管理器里面多出几个串行口;而IVT默认的串行口是com10/11,这样就要把设备管理器com10/11的高级属性里面的端口重新强制定义到com6/7,这样就可以了。因为我做蓝牙串行,所以程序代码中都采用了COM6, 9600, 8, N, 1 的通信格式。
本论坛也有cpp的smartphone串行程序,大家可以搜索一下。那个也不错,我调试的时候smartphone采用这个来调试的。
Platform: |
Size: 26948 |
Author: 何辉 |
Hits:
Description: winapi hen xiang xi fei chang hao xi wang da jia hui xi huan ,wo jing chang shi yong de .
Platform: |
Size: 92634 |
Author: sbl |
Hits:
Description: 编程文档,很不错的文档哦,各位下载肯定是没有错了。介绍了WinAPI函数打包下载(VB精版)
Platform: |
Size: 883874 |
Author: 肖金星 |
Hits:
Description: 在Visual Basic中使用WINAPI的详细教程或说明
Platform: |
Size: 905384 |
Author: 正刚 |
Hits:
Description: 在for DOS的C语言中,有一个system()函数,其功能是执行命令行程序,在VB中也有shell()函数,在Windows程序设计中WinAPI也为我们提供了类似的函数,它们就是WinExec()和ShellExecute(),下面就来讨论一下这两个函数的用法。
Platform: |
Size: 5720 |
Author: lijing |
Hits:
Description: WINDOWS API大全!
必不可少的参考手册!
Platform: |
Size: 678483 |
Author: chen |
Hits:
Description: hook winAPI达到隐藏进程端口服务注册表等
Platform: |
Size: 270606 |
Author: fyz |
Hits:
Description: 实现窗口透明
只需在创建窗口函数中加入
SetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE,
GetWindowLong(this->GetSafeHwnd(),GWL_EXSTYLE)^0x80000)
HINSTANCE hInst = LoadLibrary(\"User32.DLL\")
if(hInst)
{
typedef BOOL (WINAPI *MYFUNC)(HWND,COLORREF,BYTE,DWORD)
MYFUNC fun = NULL
//取得SetLayeredWindowAttributes函数指针
fun=(MYFUNC)GetProcAddress(hInst, \"SetLayeredWindowAttributes\")
if(fun)fun(this->GetSafeHwnd(),0,200,2)
FreeLibrary(hInst)
}
Platform: |
Size: 26349 |
Author: zhangwei |
Hits:
Description: C++全局鼠标钩子,调用WinAPI,生成DLL文件
Platform: |
Size: 55027 |
Author: zhuyuan |
Hits:
Description: 用WINAPI实现的画图程序,可以绘制直线,矩形,椭圆,多边形,可设定线型和边框色,填充色,简单实现放大,缩小的功能,还有选中,删除的功能。
Platform: |
Size: 70081 |
Author: waleking |
Hits:
Description: 用WINAPI和DIRECTX实现的益智游戏,完全仿照象素岛,实现多关卡,多层次的智力游戏体验。
Platform: |
Size: 7985726 |
Author: waleking |
Hits:
Description: 该代码详细演示了怎样用vc调用WINAPI函数打开一个BMP文件的,是我的数字图像处理的代码,很不错哦!
Platform: |
Size: 12011 |
Author: zxd |
Hits:
Description: A Generic Sample Application
一个Generic实例应用程序
Platform: |
Size: 5574 |
Author: 胡子 |
Hits:
Description: GetHwndFromPoint调用winapi完成类似于spy++的图形化句柄抓取工具,但是传统WindowFromPoint无法抓到disable的句柄,故程序使用ChildWindowFromPointEx可以方便抓到被隐藏或disable的桌面句柄.程序封装在static控件内,再次使用方法,本例中为调用例程,欢迎使用!
Platform: |
Size: 32026 |
Author: 六一 |
Hits:
Description: Windows API速查手册
Platform: |
Size: 352525 |
Author: Corpse |
Hits:
Description: 这是一个简单的使用WinAPI基于WinSock的ICP/IP程序,有简单聊天功能,中演示了两种通信方式,一种基于数据报,一种是点对点的方式,有简单的代码功能段注释,有一定网络编程的爱好者相信看的懂,唯一有些遗憾的是不知道怎样刷新界面,所以有一些小的问题-This is a simple to use WinAPI WinSock based on the ICP / IP procedures, a simple chat feature, which demonstrated the two means of communication, based on data reported, is a point-to-point manner, a simple function of the code notes that a certain network programming enthusiasts believe read and understood the only regret is that some do not know how to set interface, so there are some small problems
Platform: |
Size: 53324 |
Author: 田道锋 |
Hits:
Description: wiener滤波处理
/参数说明:
//LPSTR lpDIBBits:指向源DIB图像指针
//LONG lWidth:源图像宽度(象素数)
//LONG lHeight:源图像高度(象素数)
//函数说明:
//该函数用来对DIB图像进行维纳滤波复原操作。
BOOL WINAPI WienerDIB (LPSTR lpDIBBits, LONG lWidth, LONG lHeight)
Platform: |
Size: 1232 |
Author: doris |
Hits:
Description: 在使用别人的程序时,我们常发现一些好的功能,想通过自己的程序来重复调用。可偏偏这个程序没有留可编程接口,无法通过API、DLL、COM等方式实现调用。早些年与同仁们讨论时,常对此深表遗憾。最近,通过研究Windows API的使用方法,终于从理论上解决了这一问题,即可通WinAPI中SendMessage、EnumChildWindows等,从模拟操作的角度来调用指定程序的指定功能。
使用这种方法,我写个程序多开器,主要实现启动多个实例,能给EDIT框付值,能定时调用其中按钮。
Platform: |
Size: 11087 |
Author: 元宝 |
Hits:
Description: 用WIN API 实现按钮绘制及相关的背景设置
Platform: |
Size: 2962 |
Author: wjf |
Hits:
Description: 二维图像逆滤波
//LPSTR lpDIBBits - 指向源DIB图像指针
//LONG lWidth - 源图像宽度(象素数,必须是4的倍数)
//LONG lHeight - 源图像高度(象素数)
/
//函数说明:
//该函数用来对BlurDIB()生成的DIB图像进行复原操作。
BOOL WINAPI RestoreDIB (LPSTR lpDIBBits, LONG lWidth, LONG lHeight)
{
Platform: |
Size: 1379 |
Author: zzzzzz |
Hits:
«
1
2
3
4
5
6
78
9
10
11
12
...
25
»