On Fri, 21 Feb 2003 00:16:56 +0200 (EET) Nerijus Baliunas 
<[EMAIL PROTECTED]> wrote:

NB> Now trying with gcc 2.95. I get compile error:
NB> 
NB> include/SendMessage.h:218: parse error before `*'
NB> include/SendMessage.h:218: semicolon missing after declaration of 
`SendMessageA_obj'

 Ah, this is a familiar problem: windows.h got included from somewhere. As
it #define's SendMessage as SendMessageA using SendMessage after including
<windows.h> (and without doing #undef SendMessage) is impossible. To fix it
you can insert this #undef, of course, but it would be much better to try
to find the place from where windows.h is incldued because it may result in
other, much more difficult to find, problems too.

 Thanks,
VZ



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to