Sign in to follow this  
Followers 0
cozzie

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

1 post in this topic

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.

Edited by cozzie
0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0