Profiler Won't Profile DLLs That Are Freed, Then ReloadedLast reviewed: July 17, 1997Article ID: Q72884 |
1.00 1.20 1.30 | 1.00
WINDOWS | OS/2kbtool The information in this article applies to:
The information in this article is included in the documentation starting with Visual C++ 5.0. Look there for future revisions.
SUMMARYThe Microsoft Source Profiler version can profile the first instance of any and all DLLs (dynamic-link libraries) in a Windows or OS/2 application, but it cannot continue to collect statistics for a dynamically loaded DLL that is freed and then reloaded.
MORE INFORMATIONDLLs that are dynamically loaded with LoadLibrary() under Windows, or DosLoadModule() under OS/2, and that are freed and then reloaded, should not be profiled because the results will not be correct. Under Windows, this behavior can be observed by attempting to profile code that performs the following actions:
|
KBCategory: kbtool
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |