Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Removing QuickWin
I have a FORTRAN app that is a QuickWin app.  It was built with
Microsofts 5.1 compiler.  I need to rid myself of the Quickwin
wrappings.

Some issues seem to be related to the I/O.

I've included the first few lines of my code...

Can anyone tell me how IUNIT plays into all this?  There is also an
IREADUNIT.  These seem to be blocking my I/O.  I want to just do I/O
through standard input and output.

Any suggestions would be appreciated.

--------------
The code...


include 'c:\superl\fortran\include\flib.fi'

PROGRAM MAIN

include 'c:\superl\fortran\include\flib.fd'

RECORD /QWINFO/ WINFO
INTEGER*2 IUNIT,IREQ,IC

C FIND OUT MAX SIZE FOR APPICATION(OR FRAME WINDOW - THE MAIN WINDOW
(*)
IREQ=QWIN$FRAMEMAX
IC=GETWSIZEQQ(IUNIT,IREQ,WINFO)

C SET FRAME TO MAXIMIZE
WINFO.TYPE=QWIN$MAX
IC=SETWSIZEQQ(IUNIT,WINFO)

C OPENING MESSAGE BOX
IC=MESSAGEBOXQQ('Welcome to DYNAMIC PBS - Version 2.1'C,
+' 'C, MB$ICONINFORMATION.OR.MB$OK)

C FOR THE ABOUT BOX
IC=ABOUTBOXQQ('Welcome to DYNAMIC PBS - Version 2.1'C)

C CASCADE ALL WINDOWS
IC=CLICKQQ(QWIN$CASCADE)

C  ****************************************
WRITE PROGRAM HERE
CALL CBPROG(IUNIT)
C  ****************************************
END PROGRAM
900   CLOSE(IUNIT)
CONTINUE
END

Report this thread to moderator Post Follow-up to this message
Old Post
David Larsen
10-06-04 01:58 AM


Re: Removing QuickWin
It would be helpful to know if
you still using DOS, or if you are using QuickWin under Windows 2000 with
CVF V6.

In any case, the window you last opened has the focus,
and you to keep track of this, ie which window you are
using, with your iunit variables. Each window needs its own
variable, and number.

Your QuickWin program is pretty minimal, and you may benefit from
downloading a sample QuickWin from Compaq,
but its usefulness depends on what OS you're using.

You remove all the QuickWin code as follows.

program main
integer iunit
CALL CBPROG(IUNIT)
end program main

QuickWin ain't so bad once you get to know it a little.
If you're using CVF, try the sample download, that'll
"fleshout" how to take advantage of it.



Report this thread to moderator Post Follow-up to this message
Old Post
rih5342
10-16-04 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Fortran archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:45 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.