Fortran Resources
Misc. Samples
Dialogs
VF Headers
Win32 FAQ
Fortran FAQ
QuickWin FAQ

 

VF Win32 Headers

Compaq seems to have problems in updating their Win32 header files (DFWIN and modules it uses). There is an excuse - Microsoft updates their Win32 headers in MSDN every couple of months, and without an efficient tool for C->Fortran translation (which seems to be in constant development but never released in Compaq) manual translation is a real pain (trust me :-)).

Here you'll find just a couple of missing headers:


MAPI.zip - Fortran header & sample for using Simple MAPI (Mail API). MAPI is absent even from 6.6 headers, probably because it requires dynamic binding. Simple MAPI provides only basic mail functionality, but most frequently used features are there. Note that you have to call MAPIBind() function before using MAPI functions. Call MAPIUnbind() to release the MAPI library when done.

Please change my mail address in the sample (or I'll sue you for spamming :-))


DTPicker.f90 - DateTime Picker control types and constants. See MSDN DateTime Picker Controls Overview for reference. Sample for use is currently unavailable.


HTMLHelp.f90 - Fortran header for using new Windows HTML Help (.chm) help system. You can download HTML Help development system as well as see the documentation from Microsoft's web page. The sample project XContextHelp, containing this file as well, can be downloaded from Xeffort samples page.


Rebar.f90 - Rebar control types and constants (accompanied with few new Common Controls APIs). See MSDN Rebar Controls Overview for reference. Rebar (AKA "Coolbar") is similar to toolbars, but it consists of several bands, and each band can contain toolbars, dialogs and other child windows. Sample for use is currently unavailable.


Comctl_50A.zip - Comctlty.90+Comctl.f90 - Some APIs missing from DVF 5.0A and FPS4., mostly related with controls and common controls. Please don't try to mix those with your CVF6.x or DVF 5.0D headers.


Comctl_50D.zip - Comctlty.90+Comctl.f90 - Some APIs missing from DVF 5.0D, mostly related with controls and common controls. Please don't try to mix those with your CVF6.x headers.


Disclaimer: please don't blame me if any of outside links above are defunct -- MS likes rearranging their web site.