LF Fortran Express User's Guide - Lahey Computer Systems, Inc.
LF Fortran Express User's Guide - Lahey Computer Systems, Inc.
LF Fortran Express User's Guide - Lahey Computer Systems, Inc.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Contents<br />
75<br />
Calling <strong>LF</strong> <strong>Fortran</strong> DLLs from Microsoft C#<br />
75<br />
Calling <strong>LF</strong> <strong>Fortran</strong> DLLs from Microsoft Visual<br />
Basic .NET......................................... 76<br />
Calling <strong>LF</strong> <strong>Fortran</strong> DLLs from Microsoft Visual<br />
C++ .NET .......................................... 77<br />
Calling the Windows API.............................. 78<br />
Calling assembly language procedures ......... 81<br />
<strong>LF</strong> <strong>Fortran</strong> Conventions ............................ 81<br />
Passing Arguments to Subroutines ........... 82<br />
Returning Values from Functions ............. 90<br />
Command-Line Debugging with FDB. 95<br />
Starting FDB.................................................. 95<br />
Commands..................................................... 95<br />
Executing and Terminating a Program ..... 95<br />
Shell Commands ....................................... 96<br />
Breakpoints ............................................... 96<br />
Controlling Program Execution ................ 99<br />
Displaying Program Stack Information .. 100<br />
Setting and Displaying Program Variables...<br />
101<br />
Source File Display................................. 102<br />
Automatic Display .................................. 104<br />
Symbols................................................... 104<br />
Scripts...................................................... 104<br />
Signals..................................................... 105<br />
Miscellaneous Controls........................... 105<br />
Files......................................................... 105<br />
<strong>Fortran</strong> 95 Specific.................................. 106<br />
Communicating with fdb ........................ 106<br />
Library Manager ................................. 109<br />
Options ........................................................ 109<br />
Response Files............................................. 111<br />
Creating and maintaining COFF libraries ... 111<br />
Extracting object files from libraries........... 112<br />
Creating import libraries ............................. 112<br />
Utility Programs.................................. 115<br />
DUMPBIN.EXE.......................................... 115<br />
Invoking DUMPBIN............................... 115<br />
DUMPBIN Options................................. 115<br />
ii <strong>LF</strong> <strong>Fortran</strong> <strong>Express</strong> User’s <strong>Guide</strong><br />
EDITBIN.EXE.............................................117<br />
Invoking EDITBIN..................................117<br />
EDITBIN Options....................................117<br />
HDRSTRIP.F90...........................................119<br />
<strong>LF</strong>SPLIT.EXE .............................................120<br />
MAKEDEF.EXE .........................................120<br />
SEQUNF.F90...............................................120<br />
TRYBLK.F90 ..............................................120<br />
UNFSEQ.F90...............................................120<br />
WHERE.EXE...............................................121<br />
Invoking WHERE....................................121<br />
Programming Hints ............................123<br />
Efficiency Considerations............................123<br />
Side Effects ..................................................123<br />
File Formats .................................................124<br />
Formatted Sequential File Format ...........124<br />
Unformatted Sequential File Format .......124<br />
Direct File Format ...................................125<br />
Transparent File Format ..........................125<br />
Determine Load Image Size.........................125<br />
Link Time.....................................................125<br />
Year 2000 compliance .................................126<br />
Limits of Operation......................................127<br />
Runtime Options.................................129<br />
Command Format ........................................129<br />
Command Environment Variable ................129<br />
Execution Return Values .............................130<br />
Standard Input and Output...........................131<br />
Runtime Options ..........................................131<br />
Description of Options.............................131<br />
Environment Variables for Input/Output.....136