Dave's Brain

Browse - Programming Tips - Converting a VC++ 6 project to VC++ 7 get this warning:

Date: 2009oct11
Language: C/C++
Framework: MFC

Q. Converting a VC++ 6 project to VC++ 7 get this warning:

'DllCanUnloadNow' should not be assigned an ordinal
What should I do? A. Change:
DllCanUnloadNow @1 PRIVATE DllGetClassObject @2 PRIVATE DllRegisterServer @3 PRIVATE DllUnregisterServer @4 PRIVATE
to:
DllCanUnloadNow PRIVATE DllGetClassObject PRIVATE DllRegisterServer PRIVATE DllUnregisterServer PRIVATE
in your .def file. More info: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcerrLinkerToolsWarningLNK4222.asp

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.