블로그 이미지
stluck

Notice

Recent Post

Recent Comment

Recent Trackback

Archive

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
  • total
  • today
  • yesterday
2010. 7. 24. 11:44 Programming/C/C++/C#

VC 2010 Express 사용.

/////////////////////////////////////////////////////////////////////////////

//

// Generated from the TEXTINCLUDE 2 resource.

//

#include "afxres.h"

 

Express 에서는 MFC를 지원하지 않으므로 위의 코드를 아래과 같이 수정한다.

/////////////////////////////////////////////////////////////////////////////

//

// Generated from the TEXTINCLUDE 2 resource.

//

#define APSTUDIO_HIDDEN_SYMBOLS

#include "windows.h"

#undef APSTUDIO_HIDDEN_SYMBOLS


=============================================================================================

/////////////////////////////////////////////////////////////////////////////

//

// TEXTINCLUDE

//

2 TEXTINCLUDE MOVEABLE PURE

BEGIN

    "#include ""afxres.h""\r\0"

END

 

위 코드도 아래와 같이 수정한다.

2 TEXTINCLUDE MOVEABLE PURE

BEGIN

        "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"

        "#include ""windows.h""\r\n"

        "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"

END

posted by stluck