Actions in the Studio | | | What is happening in the file system |
---|---|---|
- Create a project called use_simple_dll | folder c:\alistair\bcs_talk\use_simple_dll is created | |
- Choose from 1 of 5 Fortran project types (Fortran Console App) |
files .dsp, .dsw, .ncb and .plg are created | |
- Add a source code file (..\use_simple_dll.f90) | file c:\alistair\bcs_talk\use_simple_dll.f90 is added | |
- View the source code file | ||
- Compile | creates the following in Debug\ use_simple_dll.obj | |
- Link (fails) | ||
- Project settings - Link - Input + Object simple_dll.dll + Path ..\simple_dll\Debug |
||
- Link (succeeds) | creates the following in Debug\ use_simple_dll.exe | |
- Run (fails) | ||
- Copy simple_dll\Debug\simple_dll.dll | copy simple_dll.dll to c:\alistair\dll (on PATH) | |
- Run (succeeds) |