Dear Jo

This is absolute guess work for me but...

I would think that there would be no relationship at all between the
MapInfo message window and your Fortran compilers WRITE (*). Could you
add a small bit of code to your DLL that creates its own output window?

I would think this is a better course of action. Another course of
action might be to open a file and change the writes to WRITE(6,) or
whatever the file channel is.

If the first course of action works then because DLL calls are "In
Process" then using API calls MapBasic could still size and position the
new "output" window that the fortran code might create.

Out of interest which Fortran compiler are you using and how easy was it
to change from an EXE app to a DLL? Just think of all the Fortran code
out that there that might be reusable!

Good luck,

Bob 
By Design.


In message <001301bf307d$369df4f0$[EMAIL PROTECTED]>, Jo Ellen
Brandmeyer <[EMAIL PROTECTED]> writes
>I have turned a Fortran program (which makes calls to 2 DLLs and a LIB) into
>a DLL that I CALL from a MapBasic program. My problem is that some of the
>calls down in a called DLL does WRITE(*) calls. But there is no window for
>the program to write to, so it bombs and crashes MapInfo.
>
>Has anyone out there overcome this problem? Is there some way to designate
>that the output generated from within a CALL to a DLL-based subroutine
>should be displayed to the message window? (I have tried the command Open
>Window Message just before my CALL, but that didn't help.)
>
>TIA
>
>Jo Ellen Brandmeyer
>MCNC - North Carolina Supercomputing Center
>Environmental Programs
>Research Triangle Park, NC
>919/248-9244
>
>
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

-- 
technical support
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to