[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::fortran

Title:Digital Fortran
Notice:Read notes 1.* for important information
Moderator:QUARK::LIONEL
Created:Thu Jun 01 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1333
Total number of notes:6734

1244.0. "Visual Fortran - Misc. Questions" by MKOTS3::HAHN (SBU Americas Technical Support Group) Thu Mar 27 1997 17:32

Customer is migrating some large Fortran apps to Win95, and would appreciate 
knowing the extent to which that is possible within DVF (vs moving to 
C++/MFC and junking Fortran altogether).  

He mentioned that Watcom has made "Windows-ready" statements about their 
Fortran product, which is described as having "selected" components of 
the Win API, but (according to him) their subset turns out to be so incomplete 
as to be worthless.

So he is looking seriously at DFV and has the following questions:

1) To what extent is the Windows API available to DVF?

2) Can one create full GUI Windows apps (not "Quickwin pseudo-console" apps)
with DVF?

3) Does DVF include headers, defines and interfaces for all the Windows
parameters?

4) Is C++ **required** in any way for Windows apps (eg, binders, wrappers,
etc.)?

5) Are 3rd-party 32-bit libraries/DLLs which work with C++ accessible from
DVF and fully supported?

Thanks,
 Dave
T.RTitleUserPersonal
Name
DateLines
1244.1Basically, the answer is Yes.TLE::MENARDnew kid on the COMMON blockFri Mar 28 1997 08:4738
>1) To what extent is the Windows API available to DVF?

    The Windows API should be fully available through DVF.  As far as we
know, all the API calls have interface block definitions, but if a new
API were to appear (quite possible) it can still be called using the
%REF, %VAL, %LOC extensions provided by DVF.

>2) Can one create full GUI Windows apps (not "Quickwin pseudo-console" apps)
>with DVF?

    Absolutely!  There are several samples illustrating how to do this.

>3) Does DVF include headers, defines and interfaces for all the Windows
>parameters?

    As far as we know, we've included interfaces and definitions for all
the Windows parameters.  Any we've missed *can* be added by the customer,
as we ship the sources to the definitions files, which are written in
Fortran 90 and create Modules that are USE'd in the users' programs.

>4) Is C++ **required** in any way for Windows apps (eg, binders, wrappers,
>etc.)?

    You can create and run Windows apps without having installed 
Visual C++ on the system.  Assuming you've installed Visual Fortran of course.

>5) Are 3rd-party 32-bit libraries/DLLs which work with C++ accessible from
>DVF and fully supported?

    If you are asking, do we conform to the calling standard, the answer is
yes.  We have a rich set of directives to support non-standard calls as well.
If you're asking something more than that, you'll have to be more specific,
possibly give an example of what you want to do.

	I hope this all helps,

		    - Lorri
1244.2ole/activex?AOSF1::krasCyber-ShredderThu Apr 03 1997 21:192
How about OLE and COM/DCOM connectivity from VF?
Can this be accomplished through the APIs?
1244.3QUARK::LIONELFree advice is worth every centThu Apr 03 1997 22:113
    Yes - the Module Wizard is designed for this purpose.
    
    				Steve