Top-Down Structs

Bob W nospam at aol.com
Sat Mar 11 16:49:53 PST 2006


"John C" <johnch_atms at hotmail.com> wrote in message 
news:duuj4n$2ui9$1 at digitaldaemon.com...


> Couldn't repro on my Windows XP machine. Runs without throwing exceptions 
> here.

It all depends what you were doing with the structs.
Just declaring them won't cause any trouble.

In my case I was calling the Win32 functions
PeekConsoleInputA() and/or ReadConsoleInputA(),
which was sufficient to upset Win XP.

Both functions expect a pointer to an INPUT_RECORD
structure.






More information about the Digitalmars-d-bugs mailing list