November 12, 2007

Disable updating intellisense

If this feature make problem for you then you can follow these step(s) for stop it.
About it: [link]
About Problem(s): [link]


C#: Tools > Options > Text Editor > C#> uncheck "Intellisense pre-selects most recently used members" > OK
Unmanaged VC: \ VC \ vcpackages \ feacp.dll

November 02, 2007

Warning treated as error

Problem: warning treated as error - no 'object' file generated

error C2220: warning treated as error - no 'object' file generated
warning C4996: 'wcstombs' was declared deprecated
warning C4996: 'sprintf' was declared deprecated
warning C4996: 'mbstowcs' was declared deprecated
warning C4996: 'wcstombs' was declared deprecated
warning C4996: 'fopen' was declared deprecated
warning C4996: 'strncpy' was declared deprecated
warning C4996: 'strcat' was declared deprecated


Solution:
Paste below line on top of your cpp file [link]
#pragma warning ( disable : 4996 )

Story:-D
Today's holiday and i'm alone in company.
A quiet and cold night and my friends enjoy of party and i'm fighting with an obsolete COM base code for an important project.

Other Solution From Comments/Without Judgments
Last Update @2013
#pragma warning( disable : 4786 )
Set Project Settings > Configuration Properties > C/C++ > General > Treat Warnings As Errors as No
disable WX
- using vsprintf_s