[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

1306.0. "DVFW95 QUICKWIN fatal error qwginit.c" by CSC32::D_SANFORD () Tue May 20 1997 17:51

    Digital Visual Fortran V5.0, Win95/WinNT V4.0

    Application built on system where DFV is installed works as expected,
    but when copied to another system without DFV installed it fails 
    with:
 		
			  QUICKWIN fatal error

	      (X) Internal error - unexpected error, file
             "e:/forrtl/build/qwnbuild/qwginit.c", line 266


    When using Powerstation Fortran, the user was able to copy/distribute
    the application to an alternate system without error.

    I suspected a DLL might be needed, but the customer said nothing
    is documented about this...

    Any clue?  I tried to reproduce the problem with a simple example
    and was not able to.

    Do I need to find out more about what the application does?

    Regards, Drew Sanford
    C970520-5023
T.RTitleUserPersonal
Name
DateLines
1306.1FQWIN.HLP missing gives bad messageTLE::CONRADWed May 21 1997 14:0229
Placing FQWIN.HLP in one of the following areas will solve this problem.
Later versions of DVF will give a meaningful error message, when and if,
QWIN help is requested rather than automatically at startup.

�
*Purpose:
*    Returns the path of the default help file
*
*Alogorithm
* 1. Look at the FQWIN_HELP environment variable.  If it is set,
*    try to open the file with the environment variable's value
*    as the path.  If either the file name or extension is missing
*    default them to FQWIN and EXT.  If the environmental value
*    is set, and the file is not fould, return NULL which will
*    result in a fatal error in QWGINIT.C.
*
* ----------------below is provided by SearchPath-----------------------
*
* 2. Look for FQWIN.HLP in the same directory as the running application.
*
* 3. Look for FQWIN.HLP in the current directory (for compatibility with
*    Fortran PowerStation 4.0).
*
* 4. Look for FQWIN.HLP in the directory returned by GetSystemDirectory.
*    This is where the Visual Fortran installation procedure puts it.
*
* 5. Look for FQWIN.HLP in directory returned by GetWindowsDirectory.
*
* 6. Look in FQWIN.HLP in PATH directories.
1306.2QUARK::LIONELFree advice is worth every centWed May 21 1997 14:488
Putting it another way - this error occurs when a QuickWin application can't
find the QUIN.HLP file.  To fix this, copy QWIN.HLP (it can be found in
the WINDOWS\SYSTEM directory on Windows 95, or the equivalent on NT) to the
same directory in which the program resides on the target system.  In future
versions, no error message will be given unless QuickWin help is requested
by the user (and if it can't find the help file.)

				Steve