The information in this article applies to:
SUMMARYThe following is a list of Frequently Asked Questions (FAQs) about Microsoft Fortran PowerStation. MORE INFORMATION
Q. Can I install Fortran PowerStation on a network?
- or - A. The floating point divide-by-zero, and, in general, all floating point errors, are handled by the system with the response of terminating whatever is causing the error unless told otherwise. The debugger stops only if "Stop always" is selected in Debug\Exceptions menu. This behavior is by design. Q. If I type the name of a common block into the Watch window, I get an "Invalid debug info" error. If I put slashes (/) around it, I get a syntax error. Why? A. This is a known problem. You can watch common block local variables in the Variables window. Common block variables that are not local cannot be watched. Q. When I try to use PRINT * within InitialMenu, I get an error message. For example: "An application error has occurred and an application error log is being generated. Exception: access violation (0xc0000005), Address: 0x004100d8" is returned and the program crashes.
A. The problem is that the connection between QuickWin and the I/O system
isn't there yet. Writing to an external file does work. InitialMenu
should not attempt to alter any QuickWin windows through I/O, graphics
routines, OPENs, and others.
Q. Can an erroneous mouse callback interface be flagged? A. No. The compiler cannot detect errors caused by mismatches in the number or types of the arguments to callback routines. Q. Does the PEEKCHARQQ work in standard graphics or in a QuickWin application? A. No. This is a known limitation. PEEKCHARQQ does not work in standard graphics or in QuickWin applications. Q. GETGTEXTEXTENT sometimes returns values greater than I expect. Why? A. When the argument to GETGTEXTEXTENT is a variable, any trailing spaces are included in the calculation. Q. Is there a run-time function that returns a size of a type? Some of the Win32 API's need this information. A. No. But you can get the information using the LOC function, as follows:
Q. Why does the following code compile and execute under Fortran
PowerStation 1.0 but generates a compiler error message when compiled
with Fortran PowerStation 4.0?
The error occurs when a function is declared with a varname*length, but a regular variable is okay when it is declared that way.
A. This is a known problem in Fortran PowerStation version 4.0. Avoid the
varname*length expression with the function declaration.
Q. Why does the RETURN statement cause a compiler error in a main Avoid program? The following code compiles cleanly under Fortran PowerStation 1.0 but generates a compilation error under PowerStation 4.0. This error occurs because of the use of the RETURN statement in the main program.
A. This is a known problem in Fortran PowerStation 4.0. To avoid the "Avoid
the error" message, remove the RETURN statement from the main Avoid
program.
Q. Can I reference a program unit that contains a BLOCK DATA statement with an EXTERNAL statement? For example:
A. Fortran does not generate an external for the block data name for the
previous example "_FOO" in the .obj file. This feature might be useful
when sharing the DLL data. See the Readme section in Books Online for
more information.
Q. I have a directory drive with a name that is just one letter long and the Command fl32 /? doesn't work. Why? A. If you have a single-letter directory on your drive, then the fl32 driver program picks it up and thinks that it is a flag. For example: If you have a root directory with a name that is one character long, then "fl32 /?" gives you an error like those above instead of giving you the Help page. Use "fl32 -?" as a workaround. Q. How can I get help regarding Windows API's? A. If you are using the CD-ROM version of Fortran PowerStation 4.0, you can gain access to Help for Windows API's by selecting Open Information Title from the Help menu in Microsoft Developer Studio, and then choosing the Win32 Software Development Kit title. You can also click the InfoViewer toolbar in Microsoft Developer Studio to open this title. Additional query words: 4.00
Keywords : kbsetup kbCompiler kbFL32 kbFortranPS kbLangFortran |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |