- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks
====================================
I decided that I would try from the visual workbench - I created a DLL project with a few simple functions in it. I seemed to succeed but when I use the .DLL in the CA OpenRoad application I am trying to create it comes up with the error in the attached .jpeg
unable to find dforrtd.dll
I cannot find this DLL anywhere on my PC....
Message Edited by dfstrottersfan on 12-15-2003 05:49 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you created the DLL, there should have also been a .LIB created. The easiest way to "link" against a DLL is to link against the .LIB.
In other words,
Message Edited by Lorri_menard on 12-12-2003 09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I decided that I would try from the visual workbench - I created a DLL project with a few simple functions in it. I seemed to succeed but when I use the .DLL in the CA OpenRoad application I am trying to create it comes up with the error in the attached .jpeg
unable to find dforrtd.dll
I cannot find this DLL anywhere on my PC....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks,
I have changed my settings as below but still get the dforrtd.dll error.
The only DLL which is being produced is in the /DEBUG directory I dont get a "release" version in the parent directory.
I don't understand how to createa release version other than doing this --- Help please!!
In project /settings/ fortran [general] I set Debug to None
project /settings/link [general] generate debug info [off]
Tools options / debug - everything off
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry - found the release configuration button - all I have to do now is work out how to "export" the functions into the DLL - I suspect I have to use
!DEC$ ATTRIBUTES DLLEXPORT::fred
Gosh why didn't DEC give the PC world VMS -- its so much better
thanks......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found this on the internet (its nearly correct ) It works
http://www.canaimasoft.com/f90VB/OnlineManuals/UserManual/TH_60.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might try using a wildcard specification in your command, like f77fred*.for /dll /dll:list.dll, if all your Fortran file names begin with fred. I seem to remember another thread in this forum in which someone said that this worked even though it's not documented.
Mike D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - that worked - I actually tried it before I read your POST - thinking maybe this will work - bizzare !!!
I now have a different issue with the following error messages
obj11DE.tmp : error LNK2001: unresolved external symbol _IIsqInit
obj11DE.tmp : error LNK2001: unresolved external symbol _IIsqMods
obj11DE.tmp : error LNK2001: unresolved external symbol _IIslen
obj11DE.tmp : error LNK2001: unresolved external symbol _IIxwritio
obj11DE.tmp : error LNK2001: unresolved external symbol _IIretinit
obj11DE.tmp : error LNK2001: unresolved external symbol _IInextget
obj11DE.tmp : error LNK2001: unresolved external symbol _IIxgetdomio
obj11DE.tmp : error LNK2001: unresolved external symbol _IIsqFlush
obj11DE.tmp : error LNK2001: unresolved external symbol _IIgetdomio
obj11DE.tmp : error LNK2001: unresolved external symbol _IIxputdomio
obj11DE.tmp : error LNK2001: unresolved external symbol _IIputdomio
obj11DE.tmp : error LNK2001: unresolved external symbol _IIsyncup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I worked out how to add a library using the LIBenv variable and library name
I got this
/out:fred.dll
/dll
Creating library fred.lib and object fred.exp
LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; us
e /NODEFAULTLIB:library
obj12A4.tmp : error LNK2001: unresolved external symbol _SQEEZE_P_GEN
obj12A4.tmp : error LNK2001: unresolved external symbol _IIxwritio
obj12A4.tmp : error LNK2001: unresolved external symbol _IIxgetdomio
obj12A4.tmp : error LNK2001: unresolved external symbol _IIxputdomio
fred.dll : fatal error LNK1120: 4 unresolved externals
r_len_arg /iface:cref/libs:static /dll /dll:fred.dll /NODEFAULTLIB ingres.l
ib
f77: error: Negation of '/NODEFAULTLIB' switch not allowed
and adding a name did not help
E:ALLANALLANF~1>f77 *.for -D_WIN32=1 -D_X86_=1 /name:as_is /iface:nomixed_st
r_len_arg /iface:cref/libs:static /dll /dll:fred.dll /NODEFAULTLIB:MSVCRT i
ngres.lib
f77: error: Negation of '/NODEFAULTLIB:MSVCRT' switch not allowed
Can anyone help ?
Thanks Allan B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page