- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Compaq Visual FORTRAN 6.6A on WIN 2000. I have a project which is forced to be a console project (not Quickwin).
When I added SCREENIO.LIB to the list of libraries in the LINK tab of my project's settings I get the following linker error:
Linking...
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
I believe I chose "multi-threaded libraries" when I created the project and guess this might be the problem. Is there a multi-threaded version of SCREENIO.LIB anywhere (or does anyone know how to fix this)?
If I cannot use SCREENIO, does anyone know how to clear the console screen of text?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by intel.software.network.support on 12-09-2005 10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I lifted the following from a sample program CONSOLE that comes with Visual Fortran (6.6A in my case).
In a true console ap, you can clear the screen with:
subroutine clrscn
use dflib
use dfwin
integer fhandle
logical KlStat ! lstat in HELP file sample code
integer nlines, ncols
Type(T_COORD) wpos
Type(T_SMALL_RECT) sr
Type(T_CONSOLE_SCREEN_BUFFER_INFO) cinfo
integer i
!Write blank lines
wpos.x = 0
wpos.y = 0
KlStat = SetConsoleCursorPosition(fhandle, wpos)
do i = 0, nlines-1
write(*,*) Repeat(" ",ncols)
end do
return
end subroutine clrscn
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page