2012年5月28日 星期一
env variable and Visual studio
Sometimes VS uses the settings in the env variable. When you modified those variables, you need to close the VS and re-open it and those changes will take effect.
2012年5月27日 星期日
XXX already defined in libcmt.lib
See this:
http://stackoverflow.com/questions/1146338/error-lnk2005-new-and-delete-already-defined-in-libcmtd-libnew-obj
BUT!!! DO remember to un-check "Inherit from parent or project defaults"
Sometimes, it is "msvcrt.lib libcmt.lib". The order matters!
http://stackoverflow.com/questions/1146338/error-lnk2005-new-and-delete-already-defined-in-libcmtd-libnew-obj
BUT!!! DO remember to un-check "Inherit from parent or project defaults"
Sometimes, it is "msvcrt.lib libcmt.lib". The order matters!
2012年5月22日 星期二
Visual Studio改compile flag...
This is for my own:
When doing porting, i.e. from WinCE to Win32, some Macro flags will not be found. When this happens:
1. Find the .vcproj file
2. in the file, find "InheritedPropertySheets"
3. open those .vsprops files indicated in step 2.
4. modify those suspecious flags in the files found step 3.
When doing porting, i.e. from WinCE to Win32, some Macro flags will not be found. When this happens:
1. Find the .vcproj file
2. in the file, find "InheritedPropertySheets"
3. open those .vsprops files indicated in step 2.
4. modify those suspecious flags in the files found step 3.
訂閱:
文章 (Atom)