imports by ordinal

Andreas Mohr andi at
Thu Jun 6 10:08:36 CDT 2002

On Thu, Jun 06, 2002 at 10:39:36AM +0000, juergen.schmied at wrote:
> Hi!
> I'd like to use in a internal wine-dll(shell32) a function exported by an other dll(shlwapi) by ordinal.
> How can I do this in a clean way without use of GetProcAddress in a way it works with native dll's too?
Well, if a Wine DLL exports a function as ordinal only,
then we can expect the Windows counterpart to do the very same thing
(i.e. the same functionality at the *same* ordinal, and no name).
Thus I think that a
pFunc = GetProcAddress(hMod, "#<ordinal>");
should be ok.

Andreas Mohr                        Stauferstr. 6, D-71272 Renningen, Germany
Tel. +49 7159 800604      

More information about the wine-devel mailing list