-
December 19th, 2003, 02:54 PM
#1
How to get rid of linker warning ? (LNK4089: OLEAUT32.DLL)
If you create a new MFC based project, using MFC as DLL, and compile the release build, you end up getting following error:
LINK : warning LNK4089: all references to 'OLEAUT32.dll' discarded by /OPT:REF
Is there a way to get rid of the warning ? I've tried adding OLEAUT32.lib to the 'Ignore specific library' linker settings, but then you end up getting another error (giving the impression that OLEAUT32.DLL is needed, although it isn't).
mfcs71.lib(stdafx.obj) : error LNK2019: unresolved external symbol __imp__SysFreeString@4 referenced in function "public: __thiscall ATL::CComBSTR::~CComBSTR(void)" (??1CComBSTR@ATL@@QAE@XZ)
I realise "it's just a warning". But I really want to get rid of it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|