User forums > Help

WIN-API - stupid errors.

(1/4) > >>

Culfa:
Hi next problem  :lol:

If I change the code from a WIN32 GUI Application, the compiler says only stupid errors:

My first line:

#include <windows.h>

He says:

syntax error: '+'

line 32:

    /* Use Windows's default colour as the background of the window */

error:

too many characters in constant

But this happens just then, when I change the code in anyway. In a Code::Block Version by a friend, it works without problems.

I use Nightlybuild 24.12.2007

Jenna:
This sounds a liittle bit like a problem with character-encoding. Do you use a special (non-standard) File-Encoding ?

Culfa:
Eh well... I did no changes in the settings, except the code completition.

Sry but I don't know what u mean

Culfa:
Sry for double post but has noone any idea?

diegoreymendez:
Could you post the whole code?  Maybe there's something wrong with it...

Navigation

[0] Message Index

[#] Next page

Go to full version