Re: unresolved external symbol/using an external dll
From: Michael J. Salamone [eMVP] (mikesa#at#entrek#dot#com)
Date: 05/01/04
- Next message: Ian McCulloch: "Re: [ann] Easy LogView"
- Previous message: John Carson: "Re: Visual C++ Forum"
- In reply to: Carl Daniel [VC++ MVP]: "Re: unresolved external symbol/using an external dll"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Apr 2004 19:09:15 -0700
You're right - I didn't read closely enough.
So, it's one of the two - the calling convention or the name mangling.
Dumpbin will shed light.
If you see _ and something like @8 at the end of a name, it's stdcall,
otherwise cdecl. If it's name mangling, you'll know it when you see it -
lot's of extra characters in front and in back of the name. And, it just
might be both. You'll have to adjust the declarations in your header file
appropriately.
-- Michael Salamone [eMVP] Entrek Software, Inc. www.entrek.com "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam> wrote in message news:%23jmzeexLEHA.3872@TK2MSFTNGP12.phx.gbl... > Michael J. Salamone [eMVP] wrote: > > Actually Windows CE only has cdecl calling convention. > > I got the impression that the OP is using code to read a CE database outside > WinCE. The presence or absense of extern "C" may very well be the problem > as well - good point. > > -cd > > >
- Next message: Ian McCulloch: "Re: [ann] Easy LogView"
- Previous message: John Carson: "Re: Visual C++ Forum"
- In reply to: Carl Daniel [VC++ MVP]: "Re: unresolved external symbol/using an external dll"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|