• Advertisement
Sign in to follow this  

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

This topic is 1757 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement