C++程序,懂的请进!!!

来源:百度知道 编辑:UC知道 时间:2024/06/07 10:37:47
• During process startup and DLL initialization routines, new threads can be created, but they do not begin execution until DLL initialization is done for the process.
• Only one thread in a process can be in a DLL initialization or detach routine at a time.
• The ExitProcess function does not return until no threads are in their DLL initialization or detach routines.
The created process remains in the system until all threads within the process have terminated and all handles to the process and any of its threads have been closed through calls to CloseHandle. The handles for both the process and the main thread must be closed through calls to CloseHandle. If these handles are not needed, it is best to close them immediately after the process is created.
When the last thread in a process terminates, the following events occur:
• All objects opened by the process are implicitly closed.
• The process's termination stat

是讲动态链接库
如何被加载到程序,如何为它创建线程,如何退出,等问题.
看下DLL的中文讲解就行

在百度里面输入“在线翻译”,里面有好多翻译工具可有。也可下载金山词霸翻译。