Location:
Search - AfxBeginThread
Search list
Description: 该程序创建了一个线程,并在线程中实现精度条推进。首先调用AfxBeginThread函数创建一个新进程,然后调用PostThreadMessage函数乡新建的线程发送WM_BEGINPROG消息,并将禁毒条的指针作为参数传递给新的线程,最后再OnBeginProg函数通过参数wParam生成的一个进度条指针实现进度条的逐步推进。-the program to create a thread, the thread and achieve accuracy of the advance. First Call AfxBeginThread functions to create a new process. then call PostThreadMessage function Rural new threads send WM_BEGINP ROG news, and the target of the drug pass as a parameter to the new threads, Finally OnBeginProg wParam function parameters generated by the progress of a target to achieve progress the gradual progress.
Platform: |
Size: 37203 |
Author: 邢馨华 |
Hits:
Description: 分别利用函数AfxBeginThread 和函数 CreateThread进行多线程编程。并对线程就行了简单策控制。-respectively AfxBeginThread function and the use of function into CreateThread the multi-threaded programming. Also on the trip threaded a simple control strategy.
Platform: |
Size: 44761 |
Author: 王光 |
Hits:
Description: 感觉多线程确实麻烦,线程间要处理好同步与通讯,如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,那必须定个全局函数,或者写个静态函数,一般是传个this指针进去,然后再用这个指针调用本类函数的成员函数,用起来比较麻烦,现在问题是能不能不用全局或者静态函数来实现呢,于是我实现了这个类,来所简化多线程的创建和关闭的操作。
Platform: |
Size: 26357 |
Author: printer |
Hits:
Description: 如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,实现了这个类,来所简化多线程的创建和关闭的操作。
Platform: |
Size: 26279 |
Author: MING |
Hits:
Description: 演示多线程编程常用函数的使用,如:
_beginthread、_beginthreadex、CreateThread、AfxBeginThread
Platform: |
Size: 4012770 |
Author: pchlong |
Hits:
Description: 这是我写的Win32 console Application程序来测试_beginthread函数创建多线程程序的用法以及参数传递的程序。- This is Win32 console which I writes the Application procedure
tests the _beginthread function foundation multithreading procedure
the usage as well as the parameter transmission procedure.
Platform: |
Size: 1222656 |
Author: lanlamer |
Hits:
Description: 程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个线程有一个消息队列,主线程中的PostThreadMessage()返回TRUE,程序由Visual C++ 6.0开发,没有用到MFC-process creates two threads, one thread without Message Queue, the main thread to thread a resolution to send a message, we can see PostThreadMessage () returns FALSE, establish procedures to the second thread is a message queue, the main threads of PostThreadMessage () returns TRUE, procedures Visual C 6.0, did not use the MFC
Platform: |
Size: 79872 |
Author: 罗伟 |
Hits:
Description: 该程序创建了一个线程,并在线程中实现精度条推进。首先调用AfxBeginThread函数创建一个新进程,然后调用PostThreadMessage函数乡新建的线程发送WM_BEGINPROG消息,并将禁毒条的指针作为参数传递给新的线程,最后再OnBeginProg函数通过参数wParam生成的一个进度条指针实现进度条的逐步推进。-the program to create a thread, the thread and achieve accuracy of the advance. First Call AfxBeginThread functions to create a new process. then call PostThreadMessage function Rural new threads send WM_BEGINP ROG news, and the target of the drug pass as a parameter to the new threads, Finally OnBeginProg wParam function parameters generated by the progress of a target to achieve progress the gradual progress.
Platform: |
Size: 36864 |
Author: 邢馨华 |
Hits:
Description: 分别利用函数AfxBeginThread 和函数 CreateThread进行多线程编程。并对线程就行了简单策控制。-respectively AfxBeginThread function and the use of function into CreateThread the multi-threaded programming. Also on the trip threaded a simple control strategy.
Platform: |
Size: 44032 |
Author: 王光 |
Hits:
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:
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:
Description: 演示多线程编程常用函数的使用,如:
_beginthread、_beginthreadex、CreateThread、AfxBeginThread-Demonstration of multi-threaded programming using the commonly used functions, such as: _beginthread, _beginthreadex, CreateThread, AfxBeginThread
Platform: |
Size: 4012032 |
Author: pchlong |
Hits:
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:
Description: win32中和mfc中线程的实现方式。主要使用了threadBegin和AfxBeginThread方法等-the way to implement thread in win32 and mfc
Platform: |
Size: 142336 |
Author: wjg |
Hits:
Description: MFC全局函数AfxBeginThread-good
Platform: |
Size: 2979840 |
Author: 佳佳 |
Hits:
Description: 这是使用AfxBeginThread写的两个对话框通信的程序,分别是主框和一个非模态对话框,通信方式是SendMessage,代码有一定注释量,适合初学者-This is a program of the two dialog boxes using AfxBeginThread written communication are the main frame and a non-modal dialog, means of communication SendMessage code annotation amount for beginners
Platform: |
Size: 146432 |
Author: ACM |
Hits:
Description: 采用AfxBeginThread创建工作线程。采用素数的判断来演示,涉及到多参数的传递,消息的响应和信息的实时显示等。-Using AfxBeginThread to create a working thread. The judgment of the prime number is used to demonstrate the multi parameters, the response of the message and the real-time display of the information.
Platform: |
Size: 5385216 |
Author: 林林 |
Hits:
Description: VC++ 多线程测试程序,VC6.0 工程,很好的学习例程-VC++ , AfxBeginThread
Platform: |
Size: 5057536 |
Author: showme |
Hits: