Hi, I set up Compaq Visual Fortran 6.5 (and upgraded to ver. 6.6) on my laptop using Windows Vista, and it works well. But when I set up that version of Fortran with Windows 7 (32bit), it can not run. Hi, I set up Compaq Visual Fortran 6.5 (and upgraded to ver. 6.6) on my laptop using Windows Vista, and it works well. But when I set up that version of Fortran with Windows 7 (32bit), it can not run. Installing the Compaq Visual Fortran 6.0 compiler using Take Command. Thread starter Umesh; Start date Jan 16, 2015 Forums. Take Command and TCC. Forget running Visual Fortran 6.0 in Take Command. I have tried running Microsoft COBOL 4.5, dBASE IV 2.0, Micro Focus COBOL, etc., in a modern OS. Far too many problems, but it is not the fault of.
No copyright infringment is intended or implied. Rozen maiden opening 1 full mp3 download. Rozen Maiden [] Original Title English Title Description The Time When I was Alice Ending Theme Requiem from Afar Suigintou's Character Song The Forbidden Game Opening Song Toumei Shelter Ending Song [] [] Legend: - English translation available - Kana/kanji lyrics available - There is a flash video of the song available - MIDI audio file available - You marked this song as a favorite, and it is in your songbox. Animelyrics.com now has an OpenSearch plugin that you can into your browser (FireFox, Chrome and IE/Edge supported) • • • • • • • • Affiliates: Lyrics copyright to their respective owners or translators.
Active7 months ago
I need to create and use dynamic-link library (DLL) for Fortran application using Compaq Visual Fortran 6.6. The following code works just fine:
![]()
The result is correct:S = 3.00000000000000Press any key to continue
However, if I implement the same algorithm using the module, I get inconsistent result (i.e. zero):
Compaq Visual Fortran 6.6 Serial Number
The result is incorrect:S = 0.000000000000000E+000Press any key to continue
As can be seen above, DLL contains only subprogram in both cases (SUBRO1 and SUBRO2, respectively). I have built DLL and LIB files from the visual development environment. The second case (with the use of module) represents the structure of my large source-code so I need to resolve this issue. Any advice would be greatly appreciated.
BTW, the same algorithm without using the DLL works well and gives correct result: Serial data scope analytics.
The result is correct:S = 3.00000000000000Press any key to continue
Bakhbergen Bekbauov
Bakhbergen BekbauovBakhbergen Bekbauov
1 Answer
You need to add:
!DEC$ ATTRIBUTES DLLEXPORT :: A,B,S
Visual Fortran
to the module, so that the main program can see the module variables from the DLL. Otherwise A, B and S are local variables.
Edit: January 16, 2019
I was able to log in to Bakhbergen's PC and eventually figured out the problem.
In CVF 6.6C (and the later Intel compilers), when you USE a module that has a DLLEXPORT directive, that turns into a DLLIMPORT, hence my advice above. But it wasn't always this way, and the version he has doesn't have that behavior. Before that change (which my memory says I lobbied for), you had to supply a separately compiled .mod where the source had DLLIMPORT instead of DLLEXPORT. When I did this, the program worked. I don't remember exactly which update had this change.
So what he needs to do is have two versions of MODUL2.f90, one with DLLEXPORT and one with DLLIMPORT. The DLLEXPORT version gets built into the DLL. The DLLIMPORT version would just be compiled (/c) and only the .mod used, not the ,obj, when linking the main program. Messy, I know, which is why we changed it.
Steve LionelSteve Lionel
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged dllmodulefortranfortran90 or ask your own question.
Hi acfalcao,
Compaq visual FORTRAN 6.6a has compatibility issues in Windows 7.
I would suggest you to try the steps mentioned below.
Method 1: Install Compaq visual FORTRAN 6.6a choosing Windows 95/98/XP Compatibility mode in Windows 7 and then try to compile files to see if that works.
Method 2: Install Windows XP mode and then try to use Compaq visual FORTRAN 6.6a
If you still have problems compiling, then I would suggest you to re-post your query in the link given below.
Visual Basic Language Forums
http://social.msdn.microsoft.com/Forums/en/vblanguage/threads
Knight rider 2 download torrent. Hope this information is helpful and let me know if you need any further assistance.
Mouneshwar R – Microsoft Support
Compaq Visual Fortran 6.6 Crack Windows 7
-------------------------------------------------------------------------------------------------------------------------
Visual Fortran Download
Visit ourMicrosoft Answers Feedback Forum and let us know what you think
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |