FIX: LNK2020 Error Message When a Function Is Called to Retrieve a Delegate to Be Hooked onto an Event (323307)
The information in this article applies to:
- Microsoft Visual C++ .NET (2002)
This article was previously published under Q323307 SYMPTOMS When you compile code similar to the sample code in the
"Steps to Reproduce the Behavior" section, you may receive the following error
message: LINK : error LNK2020: unresolved token
(0A000003) DomainUnload LINK : fatal error LNK1120: 1 unresolved externals
RESOLUTION To work around the problem, use the following sample code:
AppDomain::CurrentDomain->DomainUnload += (unloader->GetHandler());
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
This bug was corrected in Microsoft Visual C++ .NET (2003).
Modification Type: | Major | Last Reviewed: | 4/11/2003 |
---|
Keywords: | kbfix kbbug kberrmsg kbManaged kbpending KB323307 |
---|
|