Re: The Console

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 2 Nov 2000 10:44:00 -0800, Cuny, David@DSS wrote:

>Since console access seems so slow in Win32, I decided to try wrapping the
>functions and working with it directly. I'm not having much luck, so if
>anyone can point out what I'm doing wrong here, I'd appreciate it.
>
>The file is at:
>
>        http://www.lanset.com/dcuny/tmp/console.ew
>
>When I run the program normally, nothing happens. When I run it in trace
>mode, AllocConsole fails. My guess is that AllocConsole isn't typically
>needed - Euphoria has already got a console.
>
>The real problem is WriteConsole - I can't get it to write anything to the
>console. I've also tried WriteConsoleOutputCharacter with similar
>non-results.
>
>Thanks!
>
>-- David Cuny

David,

It works fine on my Win2000 system.  I included get.e and put a wait_key()
at the end so that the console wouldn't close but the console said "hello,
world!"...  (I didn't use trace so you might be correct in your assumption
about the trace console.)

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu