Visual c++, auto code check, when (not?)

Started by
0 comments, last by cozzie 11 years, 1 month ago

Hi,

Probably a easy question, but I notice the following:

- in visual studio my code/ per line is checked and a red 'wave' shows up when there's an error in the code

(sort of auto correct)

- this works great, but

- in my main cpp file, for lines within my WINAPI WinMain function, the function doesn't do anything.

Strangely if I ad invalid code just above the WinMain function, the 'auto check' function works fine.

Does someone know on which selection/ theory this function is activated or not?

I'd really like to use if everywhere in my project.

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

Advertisement

Got it, did a reset on (import/export) IDE settings and now it works everywhere in the code.

Not clear how the problem got there though.

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

This topic is closed to new replies.

Advertisement