where is operator<<(CDumpContext& dc, COleSafeArray saSrc)
Michael S. Scherotter -- mss@tartus.com Wednesday, November 27, 1996 Environment : VC++4.2b , Windows NT 4.0 & 95 I have the following in my MFC code: COleSafeArray theArray; ULONG nVertices = GetVertexArray(theArray); afxDump << theArray; The function CDumpContext& AFXAPI operator<<(CDumpContext& dc, COleSafeArray saSrc); is defined in afxdisp.h but I get the following LINK error: objects.lib(Area.obj) : error LNK2001: unresolved external symbol "class CDumpContext & __stdcall operator<<(class CDumpContext &,class COleSafeArray)"(??6@YGAAVCDumpContext@@AAV0@VCOleSafeArray@@@Z) Debug\Output/FramerCtrl.ocx : fatal error LNK1120: 1 unresolved externals Is this a bug? -- Michael S. Scherotter |Architectural Design Tools Lead Software Developer |AutoCAD Applications Tartus Development, Inc. |Custom CAD Solutions 630 Las Gallinas Ave #300 |__________________________ San Rafael, CA 94903 mss@tartus.com (415) 491-8925 michael@charette.com (415) 491-8921 (fax) 71035.1675@compuserve.com http://www.tartus.com/people/mss ____________________________________________________________
Mike Blaszczak -- mikeblas@nwlink.com Friday, November 29, 1996 At 12:14 11/27/96 -0800, Michael Scherotter wrote: >Environment : VC++4.2b , Windows NT 4.0 & 95 >The function >CDumpContext& AFXAPI operator<<(CDumpContext& dc, COleSafeArray saSrc); >is defined in afxdisp.h but I get the following LINK error: >objects.lib(Area.obj) : error LNK2001: unresolved external symbol "class >CDumpContext & __stdcall operator<<(class >CDumpContext &,class >COleSafeArray)"(??6@YGAAVCDumpContext@@AAV0@VCOleSafeArray@@@Z) >Debug\Output/FramerCtrl.ocx : fatal error LNK1120: 1 unresolved externals Thanks for providing a complete copy of your error message. With such a specific error message, it's very easy to see what's happening. >Is this a bug? 'Fraid so. I'll see if we have time to fix it for the next version, but things are getting close. .B ekiM http://www.nwlink.com/~mikeblas/ I'm afraid I've become some sort of speed freak. These words are my own. I do not speak on behalf of Microsoft.
| Вернуться в корень Архива |