FIX: Applications that are statically linked to MFC do not run on Windows NT 4.0 SP5 and earlier

Article translations Article translations
Article ID: 330208 - View products that this article applies to.
This article was previously published under Q330208
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SYMPTOMS

When a .NET-connected Microsoft Foundation Classes (MFC) application is statically linked to MFC, and you run this application on a computer running Microsoft Windows NT 4.0 that has Service Pack 5 or earlier installed, you may receive the following error message:
The dynamic link library OLEACC.dll could not be found in the specified path

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Hotfix information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Size  File name
   -------------------------------------------
   06-Nov-2002  01:43  320   Mfcstatic.vcstyle

WORKAROUND

To work around this problem, use the delayload linker option when you build the application. For example,
/delayload:oleacc.dll
You must also add Delayimp.lib to the Additional Dependencies linker option. If you do not do this, you may receive an "unresolved external" error message when you link your application.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

Properties

Article ID: 330208 - Last Review: October 26, 2013 - Revision: 3.1
APPLIES TO
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Academic Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbqfe kbvs2002sp1sweep kbvs2002sp1fix kbhotfixserver KB330208

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com