Jump to content
  • Advertisement
Sign in to follow this  

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

This topic is 2028 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


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

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

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!