2000-05-01 11:40:07 UTC
I've been having some problems with the console.
I'm currently operating under Win98, using MSVC6 SP3 and the Release
configuration. My display is set on 8-bit colour (although the problems
still arise under 16-bit). I am using the default cscon.dll plugin which
is generated by building the cscon project under MSVC.
- When I use the 'System.Printf' function, I only see my message
when I specify MSG_INITIALIZATION. When I try it with MSG_CONSOLE, no
message appears. I tried setting ConsoleReady and EnableConsoleOutput to
'true' in my Initialization routine, but it made no difference.
Similarly, I see no message when I try to use 'Console->PutText()', or
when I try 'System.console_out().'
- When I cover the cs window with another, and then uncover it, the
obscured portion is not redrawn until another Printf using
MSG_INITIALIZATION is called. I tried Console->Draw(), but this caused
an invalid page fault in ddraw5.dll.
I would really appreciate it if anyone can offer any advise.
P.S. I don't use the global 'csSystemDriver *System' variable but
have instead defined my own. I am assuming this is a convenience
variable for users, and not used within the engine ?