Visual Fortran Error

Question

I am using Compaq Visual Fortran 6.6, QuickWin platform.

When more than 4-5 applications run in parallel, the following error pops up:

---------------------------------------------------------

WuickWin Error

Out of Memory

file "E:\forrtl\build\qwnbuild\qwgsvid.c", line 637

--------------------------------------------------------

Each application uses according to my observations (through WinTaskMgr) 1.7-4.7 Mb memory.

No dynamic memory allocation is used directly (QuickWin calls still probably use some).

There's no such message in the Compaq Fortran documentation.

What could be the reason?

Thanks in advance.

Sincerely,

Alex Fratkin

tel: 408-366-8700

Answer

This question was answered on July 15, 2005. Much of the information contained herein may have changed since posting.

QuickWin has that severe restriction that it's unable to produce vector output

Winteracter is a fine product However, if money is an issue there are also the following alternatives:

- You can (probably, I didn't verify) find description of CGM format at www.wotsit.org

- You can consider using Enhanced or Windows metafiles (EMF/WMF) which are Windows "native" format for vector graphics Usage is relatively simple, such as:

hDCemf=CreateMetaFile(szEMFfile)

!Do drawing here

bSt=CloseMetaFile(hDCemf)

(slightly more complicated for EMFs) The problem is that 'Do drawing here' must be Windows GDI functions, not QuickWin's They're not so hard to use except that you have to take care of creation, selection and destruction of fonts, brushes, pens etc A good thing with this approach is that you can use the same code for printing.

Need Help with this Issue?

We help people with technology! It's what we do.
Schedule an Appointment with a location for help!

Author

Posted by Johnny of Katharine Gibbs School - New York on July 15, 2005