-
安全中断窗口 (C#)
翻译 maninwest@Codeforge 作者:Brisingr Aerowing@CodeProject
这是将 Richard MacCutchan的安全中断窗口移植到 C#
源代码在 Github 上。
使用代码
有两个显示中断窗口的方法:
public static void Blackout(IntPtr hWnd, Action action);
public static T Blackout(IntPtr hParentWnd, Func func);
第二个版本 (泛型)用于实现类似以下的功能:
BlackoutWindow.Blackout(SomeHandle, () => {
return MessageBox.Show("A Test", "A Test", MessageBoxButtons.YesNo);
});
- 2022-03-19 12:42:51下载
- 积分:1
-
VC++ 手写文字识别程序源码
VC++ 手写文字识别程序源码
简单实现了用VC++编写的手写识别汉字的输入的方法,了解其基本原理。
对于手写识别的入门大有裨益。
- 2022-03-04 00:57:00下载
- 积分:1
-
基于kinect的汉语语音识别代码
基于kinect的汉语语音识别代码,可控制乌龟前后左右运动,可自由更改图像和程序,建议开发环境Visual——studio2013(WPF),CPU:i5,2.0GHz以上。
- 2022-08-21 19:50:43下载
- 积分:1
-
生产者与消费者问题的解决,利用语言实现的,可供参考
生产者与消费者问题的解决,利用语言实现的,可供参考-goodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgoodgood
- 2022-01-28 04:04:35下载
- 积分:1
-
实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把MFC E...
实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把MFC EXE应用程序中 CAppView,CMainFrame,CAppDocument的文挡和RES目录下的资源拷贝到常规DLL项目中,添加到项目中,编译生成一DLL,在另外一个WIN32应用程序中,启动一线程,在线程函数中显式装载该DLL,取的该DLL内的当前线程, CWinThread *pThread=GetCurrentThread() pThread->Run() 就可装载启动常规DLL内应用程序框架.-method: a normal DLL file has been created with the program wizard and there is an instance generated from CWinApp in the DLL file.Create another MFC EXE appliaction and copy CAppView,CMainFram,CAppDocument and the resources in RES directory to the normal DLL and add to the projec and compile and generate a DLL. In a Win32 application, start a thread which loads the DLL with codes, get the running thread, ie.CWinThread*pThread=GetCurrentThread(), then,pThread->Run() executes the loading and start the execution of the application framework in the normal DLL file.
- 2022-07-13 07:36:52下载
- 积分:1
-
- 2022-03-24 06:34:20下载
- 积分:1
-
日期还原
日期还原 -date Reduction Date Date Reduction
- 2022-08-13 09:04:05下载
- 积分:1
-
程序使用VC来扫描端口!!程序简单适用于VC的初学者
程序使用VC来扫描端口!!程序简单适用于VC的初学者-VC uses to scan the port!! Procedures are simple and applies to VC beginner!!
- 2022-05-07 11:40:17下载
- 积分:1
-
用于查看二进制文件的小工具 用MFC编写
用于查看二进制文件的小工具 用MFC编写-Binary file for viewing with a small tool for the preparation of MFC
- 2022-03-13 18:50:27下载
- 积分:1
-
用C++ Builder编写的操作系统处理程序,经过测试,能用
用C++ Builder编写的操作系统处理程序,经过测试,能用-C++ Builder with the preparation process of the operating system, after testing, can be
- 2022-08-08 16:30:07下载
- 积分:1