Hello,

i want to create a dll with some exported functions. Normally this
isnt a problem, but with VC 7 and my current problem ive got the
following Linker warning/error:

warning LNK4017: EXPORTS statement not supported for the target
platform; ignored

I created the project using the "Win32 Project->DLL" wizard. The
function to export is defined as WINAPI and listed in the EXPORTS
section of the def file.

Without the def file all things are compiled/linked without problem,
but also without export ;)

Thank you for any ideas in advance.

Ciao Danilo

Re: VC 7 DLL Export by William

William
Thu Feb 24 10:18:57 CST 2005

"Danilo Reinhardt" <groupbuster@gmx.net> wrote in message
news:781d8ea1.0502240804.2fce38e9@posting.google.com...
> i want to create a dll with some exported functions. Normally this
> isnt a problem, but with VC 7 and my current problem ive got the
> following Linker warning/error:
>
> warning LNK4017: EXPORTS statement not supported for the target
> platform; ignored

How big is your module definition file? Post it - or a short snippet from
it - here. Chances are someone will spot your error.

BTW, did you check the help for the error, i.e. are you using the
DESCRIPTION keyword in error?

Regards,
Will



Re: VC 7 DLL Export by groupbuster

groupbuster
Fri Feb 25 11:09:08 CST 2005

I figured out the Problem.

Some characters of the module definition file are non-dos characters
(unix cr/linefeed), the linker was totally confused about this. ;)

Thanx for your reply!

Bye