Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : static load WinNT API DLL - "linked to missing export" in Win9x/ME

www.cryer.info
Managed Newsgroup Archive

static load WinNT API DLL - "linked to missing export" in Win9x/ME

Subject:static load WinNT API DLL - "linked to missing export" in Win9x/ME
Posted by:"bill" (mcmuddjunk..@earthlink.net)
Date:Fri, 14 Oct 2005 15:56:11 -0700

I declare a number of functions (static load) which are in
WinNT/2K/XP API DLLs (setupapi.dll & kernel32.dll).

I have alternative functions for users of Win9x/ME.

To avoid the startup "... linked to missing export ..." error,
I've looked at the $IFDEFs but can't quite see how to do
it that way. I have D5 standard so there are no advanced
compiler conditionals. Can I somehow define my own ifdef
for WinNT ?

What's the standard Delphi way to deal with this situation ?

Thanks for any clues,

Bill Mudd

Glossary

File Types

Replies:

www.cryer.info
Managed Newsgroup Archive