Maurizio
03-02-2004, 11:48 AM
Hi there, I have to admit that I am pretty new to Fortran coding in general and I hope you can give me some good advice to sort this troubles out: my research group owns both lf90 and lf95 (version 5.00c) We used to compile our code onto a DLL for VB code onto a Win98 machine using
lf90 filename.f90 -tp -win -dll -ml msvb
lf90 doesn't seem to like working on windows 2000 machine so I decided to try and compile the DLL with lf95, by using
lf95 filename.f90 -tp -win -dll -ml msvb
the resulting dll file is smaller than the one created by lf90 (626kb against 688kb)
and basically it doesn't work...when the VB code calls it it just spits out an error and makes the VB code crash.
Any idea (that doesn't involve buying a new version of the lf95 compiler possibly :p ) is very much appreciated
Cheers
Maurizio
lf90 filename.f90 -tp -win -dll -ml msvb
lf90 doesn't seem to like working on windows 2000 machine so I decided to try and compile the DLL with lf95, by using
lf95 filename.f90 -tp -win -dll -ml msvb
the resulting dll file is smaller than the one created by lf90 (626kb against 688kb)
and basically it doesn't work...when the VB code calls it it just spits out an error and makes the VB code crash.
Any idea (that doesn't involve buying a new version of the lf95 compiler possibly :p ) is very much appreciated
Cheers
Maurizio