News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Linker Problem

Started by Astro, July 22, 2009, 04:47:42 PM

Previous topic - Next topic

Astro

Hi,

Here is the definition file:

LIBRARY msgina
EXPORTS
ord1=msgina.#1,@1,NONAME
ord2=msgina.#2,@2,NONAME
ord3=msgina.#3,@3,NONAME
ord4=msgina.#4,@4,NONAME
ord5=msgina.#5,@5,NONAME
ord6=msgina.#6,@6,NONAME
ord7=msgina.#7,@7,NONAME
ord8=msgina.#8,@8,NONAME
ord9=msgina.#9,@9,NONAME
ord10=msgina.#10,@10,NONAME
ord11=msgina.#11,@11,NONAME
ord12=msgina.#12,@12,NONAME
ord13=msgina.#13,@13,NONAME
ord14=msgina.#14,@14,NONAME
ord15=msgina.#15,@15,NONAME
ord16=msgina.#16,@16,NONAME
ord17=msgina.#17,@17,NONAME
ord18=msgina.#18,@18,NONAME
ord19=msgina.#19,@19,NONAME
ord20=msgina.#20,@20,NONAME
ord21=msgina.#21,@21,NONAME
ord22=msgina.#22,@22,NONAME
ord23=msgina.#23,@23,NONAME
ord24=msgina.#24,@24,NONAME
ord25=msgina.#25,@25,NONAME
ord26=msgina.#26,@26,NONAME
ord27=msgina.#27,@27,NONAME
ord28=msgina.#28,@28,NONAME
ShellShutdownDialog=msgina.ShellShutdownDialog,@29
WlxActivateUserShell=msgina.WlxActivateUserShell,@30
WlxDisconnectNotify=msgina.WlxDisconnectNotify,@31
WlxDisplayLockedNotice=msgina.WlxDisplayLockedNotice,@32
WlxDisplaySASNotice=msgina.WlxDisplaySASNotice,@33
WlxDisplayStatusMessage=msgina.WlxDisplayStatusMessage,@34
WlxGetConsoleSwitchCredentials=msgina.WlxGetConsoleSwitchCredentials,@35
WlxGetStatusMessage=msgina.WlxGetStatusMessage,@36
WlxInitialize=msgina.WlxInitialize,@37
WlxIsLockOk=msgina.WlxIsLockOk,@38
WlxIsLogoffOk=msgina.WlxIsLogoffOk,@39
WlxLoggedOnSAS=msgina.WlxLoggedOnSAS,@40
WlxLoggedOutSAS=msgina.WlxLoggedOutSAS,@41
WlxLogoff=msgina.WlxLogoff,@42
WlxNegotiate=msgina.WlxNegotiate,@43
WlxNetworkProviderLoad=msgina.WlxNetworkProviderLoad,@44
WlxReconnectNotify=msgina.WlxReconnectNotify,@45
WlxRemoveStatusMessage=msgina.WlxRemoveStatusMessage,@46
WlxScreenSaverNotify=msgina.WlxScreenSaverNotify,@47
WlxShutdown=msgina.WlxShutdown,@48
WlxStartApplication=msgina.WlxStartApplication,@49
WlxWkstaLockedSAS=msgina.WlxWkstaLockedSAS,@50


These are all the exports from msgina.dll.

Strangely, it does NOT complain about the functions that have names, but the oridinal functions are moaned about ("unresolved external symbol").

1) Why don't the named functions fail?

2) Given point (1), why do the ordinals fail?

3) How can I make it so I can reference the ordinal functions as well? I'm not interested in these, but they need to be available.

Best regards,
Astro.