Mixed Language Programming between Digital Fortran and Visual Basic

NavyBoy edward.encarnacion@navy.mil
Fri Jun 13 19:50:00 GMT 2008


Jerry

Thanks for you reply. I'm new here and thought that this was a Fortran forum
that included Digital Fortran. I'm sorry if I'm in the wrong place with the
wrong topic. Thanks also for your suggestion.

NavyBoy


NavyBoy wrote:
> 
> 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-tp17810387p17830794.html
Sent from the gcc - fortran mailing list archive at Nabble.com.



More information about the Fortran mailing list