For Programmers: Free Programming Magazines  


Home > Archive > Fortran > June 2004 > Re: Mixed Language DLL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Mixed Language DLL
Gerry Thomas

2004-06-29, 8:57 pm


"rih5342" <rob.hickey@nospam.alum.mit.edu> wrote in message
news:27277a1357e459313ec63b2359501f2d@lo
calhost.talkaboutprogramming.com...
> As suggested, I do the following
>
> Microsoft (R) Library Manager Version 6.00.8447
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
>
> oneway.def : warning LNK4017: Exports statement not supported for the
> target platform; ignored
> Creating library oneway.lib and object oneway.exp
>
> Microsoft (R) Library Manager Version 6.00.8447
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
>
> OneWay.dll
> OneWay.dll
> OneWay.dll
>
>
> where my .def file is
> ; start OneWay.def
> LIBRARY OneWay.dll
> Exports AppStatus
> ; end OneWay.def
>
> AppStatus appears exactly as in the linker error
> but I now get a new error regarding my IX86 hardware.
>
> What now?
>


Your .def looks strange (which doesn't necessarily mean there's anything
wrong with it). Try this:

LIBRARY OneWay
Exports
AppStatus @1


--
Wow, Fortran does it again! Amazing!
--
You're Welcome,
Gerry T.
______
"Some of those writing letters to this program are slightly fictitious but
others definitely are not." -- Dick Cavett, host of The Detroit Symphony
Orchestra, PBS Radio.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com