2012년 10월 30일 화요일

visio viewer does not working on Internet Explorer9


1. regedit 
2. find key
HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Internet Explorer > ActiveX Compatibility
{279D6C9A-652E-4833-BEFC-312CA8887857}
3. delete a sub key 

2012년 10월 23일 화요일

WPF

Charles Petzold - Applications = Code + Markup - A Guide to the Microsoft WPF - 2006


http://msdn.microsoft.com/ko-kr/library/ms754130.aspx

http://msdn.microsoft.com/ko-kr/library/ms753313.aspx

http://www.wpftutorial.net/

2012년 9월 2일 일요일

vs2010 cannot find one or more components....


regedit 실행 후

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config\Initialization항목에서 PkgDefSearchPath 를 찾아보면 해당 항목의 키 값이 비어 있을 가능성 100%

PkgDefSearchPath키 값을 아래의 값으로 설정

C:\Program Files\Microsoft Visual Studio 10.0\\Common7\IDE\Extensions;C:\Program Files\Microsoft Visual Studio 10.0\\Common7\IDE\CommonExtensions;C:\Program Files\Microsoft Visual Studio 10.0\\Common7\IDE\devenv.admin.pkgdef

2011년 6월 30일 목요일

2011년 2월 17일 목요일

cscope-15.7a build with mac os x (snow leopard)

In file included from main.c:49:
/usr/include/ncurses.h:539:40: error: macro "cbreak" passed 1 arguments, but takes just 0
/usr/include/ncurses.h:564:44: error: macro "erasechar" passed 1 arguments, but takes just 0
/usr/include/ncurses.h:600:43: error: macro "killchar" passed 1 arguments, but takes just 0
make[2]: *** [main.o] Error 1


src/constants.h 을 수정하면 빌드 가능

#if (BSD V9) && !__NetBSD__ && !__FreeBSD__
# define TERMINFO 0 /* no terminfo curses */
#else
# define TERMINFO 1
#endif

#undef TERMINFO
#define TERMINFO 1

#if !TERMINFO
# ifndef KEY_BREAK
# define KEY_BREAK 0400 /* easier to define than to add #if around the use */
# endif
# ifndef KEY_ENTER
# define KEY_ENTER 0401
# endif
# ifndef KEY_BACKSPACE
# define KEY_BACKSPACE 0402
# endif

# if !sun
# define cbreak() crmode() /* name change */
# endif

# if UNIXPC
# define erasechar() (_tty.c_cc[VERASE]) /* equivalent */
# define killchar() (_tty.c_cc[VKILL]) /* equivalent */
# else
# define erasechar() (_tty.sg_erase) /* equivalent */
# define killchar() (_tty.sg_kill) /* equivalent */
# endif /* if UNIXPC */
#endif /* if !TERMINFO */

ref.
http://sourceforge.net/tracker/?func=detail&aid=2906214&group_id=4664&atid=204664

2010년 9월 1일 수요일

윈도우 디버깅 시 컴파일러 옵션

윈도우 cl.exe 컴파일러 디버깅 시 /Zi 만 가지고는 안됨
뒤쪽에 d 붙여주고, 링크할 때 /DEBUG 붙여줘야 됨

CFLAGS --> /Zi /Od /MTd
LFLAGS --> /DEBUG

2010년 8월 30일 월요일

_MSC_VER

_MSC_VER VER NAME
800: 1.0
900: 3.0
1000: 4.0 / Visual C++ 4.0
1020: 4.2 / Visual C++ 4.2
1100: 5.0 / Visual C++ 5.0
1200: 6.0 / Visual C++ 6.0
1300: 7.0 / Visual C++ .Net 2002
1310: 7.1 / Visual C++ .Net 2003
1400: 8.0 / Visual C++ .Net 2005
1500: 9.0 / Visual C++ .Net 2008
1600: 10.0 / Visual C++ 2010