Welcome![Sign In][Sign Up]
Location:
Search - CWinThread

Search list

[Windows Develop在动态连接库内封装应用程序框架cool

Description: 实现方法: 用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.
Platform: | Size: 69885 | Author: 杨杰 | Hits:

[Process-ThreadMulThreadclass

Description: 感觉多线程确实麻烦,线程间要处理好同步与通讯,如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,那必须定个全局函数,或者写个静态函数,一般是传个this指针进去,然后再用这个指针调用本类函数的成员函数,用起来比较麻烦,现在问题是能不能不用全局或者静态函数来实现呢,于是我实现了这个类,来所简化多线程的创建和关闭的操作。
Platform: | Size: 26357 | Author: printer | Hits:

[Process-ThreadMulThreadclass

Description: 如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,实现了这个类,来所简化多线程的创建和关闭的操作。
Platform: | Size: 26279 | Author: MING | Hits:

[OS programCWinThread

Description: 一个WINTHREAD的例子。请大家一起学习
Platform: | Size: 28037 | Author: 段明江 | Hits:

[Windows DevelopSingDocRglDll

Description: 实现方法: 用MFC的程序向导生成一个常规DLL,在常规DLL内有一派生自CWinApp的实例,再用MFC的程序向导生成一个MFC EXE应用程序,把MFC EXE应用程序中 CAppView,CMainFrame,CAppDocument的文挡和RES目录下的资源拷贝到常规DLL项目中,添加到项目中,编译生成一DLL,在另外一个WIN32应用程序中,启动一线程,在线程函数中显式装载该DLL,取的该DLL内的当前线程, CWinThread *pThread=GetCurrentThread() pThread->Run() 就可装载启动常规DLL内应用程序框架.
Platform: | Size: 69885 | Author: 段平平 | Hits:

[Windows Develop在动态连接库内封装应用程序框架cool

Description: 实现方法: 用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.
Platform: | Size: 69632 | Author: | Hits:

[Other03CWinThread

Description: windows程序设计的一个小程序,可以共别人参考-windows programming in a small program, you can refer to a total of others
Platform: | Size: 11264 | Author: rightthgir | Hits:

[Process-ThreadMulThreadclass

Description: 感觉多线程确实麻烦,线程间要处理好同步与通讯,如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,那必须定个全局函数,或者写个静态函数,一般是传个this指针进去,然后再用这个指针调用本类函数的成员函数,用起来比较麻烦,现在问题是能不能不用全局或者静态函数来实现呢,于是我实现了这个类,来所简化多线程的创建和关闭的操作。-Trouble feeling really multi-threaded, thread synchronization and communication between the handle, if a little better CWinThread directly is a thread object, if AfxBeginThread, it must be a global function, or write a static function, is generally Chuan In this pointer into the pointer then call a member function of this type function, used up too much trouble, the question now is can not have static or global function to realize it, so I realize this category, to the simplification of multi-threaded creation and closure of the operation.
Platform: | Size: 25600 | Author: printer | Hits:

[Process-ThreadMulThreadclass

Description: 如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,实现了这个类,来所简化多线程的创建和关闭的操作。-If CWinThread better direct object is a thread, if AfxBeginThread, realize this category, to simplify the creation of multi-threading on and off operation.
Platform: | Size: 25600 | Author: | Hits:

[OS programCWinThread

Description: 一个WINTHREAD的例子。请大家一起学习-A WINTHREAD example. Please join U.S. study
Platform: | Size: 27648 | Author: | Hits:

[Windows DevelopSingDocRglDll

Description: 实现方法: 用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-
Platform: | Size: 69632 | Author: 段平平 | Hits:

[Process-ThreadCWinThread

Description: 这是一个关于CWinThread以及利用继承自CWinThread使用多线程的程序! 1,尽量使用DECLARE_DYNCREATE,这样能够动态创建。 2,继承自CWinThread,所以可以使用CreateThread()函数进行线程创建,在最开始我被书上的AfxBeginThread(RUNTIME_CLASS(CMyClass))误导了,还以为一定要按照这种方式创建线程呢。 3,查MSDN的同时,也要注意思考C++的机制,这样才能有的放矢地顺利解决问题。-This is a study on CWinThread and the use of inherited from CWinThread procedures for the use of multi-threaded! 1, to make full use of DECLARE_DYNCREATE, this can be dynamically created. 2, inherited from CWinThread, so you can use CreateThread () function thread-create, in the beginning I was a book AfxBeginThread (RUNTIME_CLASS (CMyClass)) misled, but also that we must create a thread in this manner in accordance with it. 3, search MSDN at the same time and pay attention to thinking C++ Mechanisms targeted in this way can solve the problems smoothly.
Platform: | Size: 37888 | Author: wuwei | Hits:

[Process-ThreadFileCopy2

Description: 该程序的功能为利用MFC的多线程类CWinThread实现多线程文件复制。-The functions of the program for the use of multi-threaded MFC multi-threaded type CWinThread duplicated.
Platform: | Size: 15360 | Author: lxq | Hits:

[ISAPI-IEproxy32

Description: 代理程序模块支持多种常用代理: 1, http代理(支持模式:GET,POST,CONNECT) 2, Sock4代理 等-DeleteService StartServiceCtrlDispatcher RegisterServiceCtrlHandler SetServiceStatus Sleep GetCurrentDirectory GetModuleFileName GetSystemDirectory CopyFile OpenSCManager CreateService CloseServiceHandle OpenService CWinApp CWinThread CreateThread MessageBox CreateEvent CString OutputDebugString WaitForSingleObject CloseHandle SetEvent GetLastError
Platform: | Size: 252928 | Author: abner | Hits:

[OS programCWinThread

Description: CWinThread开发实例,供创建进程与线程学习-CWinThread
Platform: | Size: 3416064 | Author: wyf20030725 | Hits:

[GDI-BitmapCWinThread

Description: UI多线程实现,可改善界面刷新速度,实现数据界面分离-UI multi-threaded implementation, can improve the interface refresh rate, to achieve separation of data interface
Platform: | Size: 27648 | Author: jjk | Hits:

[Process-ThreadCWinThread

Description: UI多线程测试用例,启发作用,学习一下,可以一举反三-UI multi-threaded test cases, stimulating, learning about, you can at one stroke, anti-
Platform: | Size: 27648 | Author: 阿臭 | Hits:

[Dialog_WindowDemo

Description: 获得应用程序主窗口的指针 主窗口指着保存在CWinThread::m_pMainWnd-Get a pointer to the application' s main window to save the main window, pointing at the CWinThread:: m_pMainWnd
Platform: | Size: 1869824 | Author: 王刚 | Hits:

[Process-ThreadMultiThread6

Description: 建立一个基于对话框的工程MultiThread6,在对话框IDD_MULTITHREAD6_DIALOG中加入一个按钮IDC_UI_THREAD,标题为“用户界面线程” 右击工程并选中“New Class…”为工程添加基类为CWinThread派生线程类CUIThread。-Establishment of a dialog-based project MultiThread6 the dialog IDD_MULTITHREAD6_DIALOG a button IDC_UI_THREAD, heading for the user interface thread, right-click project and select the " New Class ..." for the project to add a base class CWinThread derived thread class CUIThread.
Platform: | Size: 2285568 | Author: zouxianjian | Hits:

[Software EngineeringCWinThread

Description: cwinthread demo henshiyongde-cwinthread demo
Platform: | Size: 27648 | Author: shengronghui | Hits:
« 12 »

CodeBus www.codebus.net