Re: Lots of symbols in comctl32 are exported by ordinal only

"Filip Navara" <xnavara-VIXq6x/[email protected]> Thu, 23 Oct 2003 17:26:47 +0200
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <10f501c3997a$17d2b2d0$1c4bb13e@hornet>
----- Original Message ----- 
From: "Earnie Boyd" <[email protected]>
To: <[email protected]>
Sent: Thursday, October 23, 2003 1:47 PM
Subject: Re: [MinGW-patches] Lots of symbols in comctl32 are exported by
ordinal only


> Filip Navara wrote:
> >>But the NONAME tag has no significant effect on the import lib -- the
> >>symbol names are still in the imp lib, just hidden in the dll itself.
> >>Run-time linking
> >> doesn't use the import lib, so why should it affect that?
> >
> >
> > The comctl32.dll exports some symbols by ordinal only and when you link
with
> > current version of libcomctl32.a, it will search for eg. symbol
DPA_Create,
> > which isn't present in the DLL and fail.
> >
>
> So it does, confirmed on my XP with perdr (perdr.sf.net).  But how can
> we be assured that oridinal x on XP is the same oridinal x on 98?

It haven't changed from the Windows 95 version up to Windows Server 2003, so
I think it's safe. And Microsoft libs contain these symbols also and import
them by ordinal too.

Filip



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/