delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/16/14:37:51

From: antwerp AT tpd DOT tno DOT nl (Gert van Antwerpen)
Subject: Problem calling WINAPI functions with structs
16 Jan 1998 14:37:51 -0800 :
Message-ID: <199801151346.OAA22673.cygnus.gnu-win32@tpdnws.tpd.tno.nl>
Mime-Version: 1.0
To: <gnu-win32 AT cygnus DOT com>

Hai

I tried to make some application which has an interface to windows. 
I found that some WINAPI32 functions do not correctly pass their arguments
to the stack. GetLargestConsoleWindowSize returns a struct and my feeling
is that GCC does not handle it the same way other windows compilers do, so
it does not work. I am not sure but also passing structs (by value) to
WINAPI funcs have also strange results.

Gert van Antwerpen
antwerp AT tpd DOT tno DOT nl
Please answer by mail.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019