Mixed Language Programming between Digital Fortran and Visual Basic
NavyBoy
edward.encarnacion@navy.mil
Thu Jun 12 21:46:00 GMT 2008
I successfully created a dll in Digital Fortran which I can use from Visual
Basic. This DLL processes binary data. While processing a file, I would like
to add a progress bar in Visual Basic. The problem is that there is no
communation (values of variables) between the DLL and VB while the
processing is taking place. All variable communications take place after the
processing is done. I want to use the position of the file as the metric for
the progress bar. i.e. when the position is set at the beginning of the file
represents 0%, and at the end of the file is 100%. The formula is simple:
100 * CurrentFilePos / FileSize. The problem is to communicate this result
back to VB while the processing is taking place. Any ideas?
Thanks,
NavyBoy
--
View this message in context: http://www.nabble.com/Mixed-Language-Programming-between-Digital-Fortran-and-Visual-Basic-tp17810387p17810387.html
Sent from the gcc - fortran mailing list archive at Nabble.com.
More information about the Fortran
mailing list