Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-03

Win32 API function problem?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Not sure if the subject is right, but I didn't know what else to call this one.

I'm writing a program to use the Win32 API function WriteConsoleOutput. The test program compiles fine, without warnings or errors, but nothing gets displayed (the source is attached). I've spent the last 2 hours trying to figure it out, but no luck. So, I tried compiling it with TMT and VP, and it works perfectly with both of them! I'm using "Free Pascal Compiler version 1.1 [2002/02/15] for i386". Did I find a bug, or am I doing something wrong here.

Jim