The information in this article applies to:
SYMPTOMSWhen firing an event from your custom component that uses cVSAEventStandard as the dwFlags parameter, the event may not show up in the Visual Studio Analyzer Event list. CAUSEWhen passing cVSAEventStandard as the dwFlags parameter of the FireEvent method, no default values are set for the following parameters:
RESOLUTIONProvide default values for these parameters, or provide your own. You can provide default values for these parameters by passing cVSAEventDefaultTarget | cVSAEventDefaultSource as the dwFlags parameter of the FireEvent method. STATUSThis behavior is by design. MORE INFORMATIONConsider the following code fragment. The event is being fired from the MyProc.exe process.
The following filter will evaluate to false as there is no default value set for SourceProcess:
The following filter will evaluate to true as you have explicitly provided your own value for SourceMachine:
Modifying the dwFlags parameter to generate default parameters will cause both filters to evaluate to true:
REFERENCESFor additional information, click the article number below to view the article in the Microsoft Knowledge Base: Q242298 INFO: Valid Filter Fields for Visual Studio Analyzer MSDN Library: Visual Studio 6.0 Documentation; Visual Studio Documentation; Component, Design and Analysis Tools; Visual Studio Analyzer Reference; Visual Studio Analyzer Language Reference; ISystemDebugEventFireAuto, ISystemDebugEventFire; FireEvent Additional query words:
Keywords : kbEEdition kbVC kbVisAnalyzer kbVS600bug kbDSupport kbGrpDSTools |
Last Reviewed: January 28, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |