Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » General Programming   (RSS)
Sorry, but there are no more tags available to filter with.
Writing a sample code file that compiles in all systems.
If you write a file that is intended to compile in all systems (ue, sample code file), people who compile it in a code page different than the code page that is was saved under may encounter a compiler error: " C4819: The file contains a character that Read More...
Careful with & operator on CComBSTR variables.
Be careful when using the & operator on a CComBSTR variable. If this variable is not empty, using the & operator on it to point it to a new BSTR will lead to a memory leak. For instance, if you have a variable bsz1 declared and initialized as: Read More...
Page view tracker