Help, why can't I call CCEGLView::create

I established a good project in XP, the tool is vs2008, could have been normal operation.
But I put the project from the Unicode character set into a multi-character character set after
pMainWnd-> Create (TEXT (“cocos2d: Hello World”), 480, 320)
This line will not run properly.

Seek expert guidance

Using English is a polite manner in this forum, unless we will see Russian, Korean, Spanish and many languages here.
Please translate your words into English.

About your problem, more details are required.
Can the source be compiled successfully? And what’s the error log when this line fail to run? Does it lead to crash or any other exceptions?

1> AppDelegate.obj: error LNK2001: unresolved external symbol “public: virtual bool __thiscall cocos2d:: CCEGLView:: Create (char const *, int, int)” (? Create @ CCEGLView @ cocos2d @ @ UAE_NPBDHH @ Z)
1> D: ObamaVsBenladen Debug.win32 ObamaVsBenladen.win32.exe: fatal error LNK1120: 1 unresolved externals

This is a compiler error reported

The declaration is virtual bool Create(LPCTSTR pTitle, int w, int h);

This is my source
LPCTSTR temp = “cocos2d: Hello World”;
CCEGLView * pMainWnd = new CCEGLView();
CC_BREAK_IF(! pMainWnd
|| ! pMainWnd->Create( temp, 480, 320));

Or will be error

1> AppDelegate.obj: error LNK2001: unresolved external symbol “public: virtual bool __thiscall cocos2d:: CCEGLView:: Create (char const *, int, int)” (? Create @ CCEGLView @ cocos2d @ @ UAE_NPBDHH @ Z)
1> D: ObamaVsBenladen Debug.win32 ObamaVsBenladen.win32.exe: fatal error LNK1120: 1 unresolved externals

Continue to focus on
Hope can help me solve this problem

Hi Wang,

I found the same issue in my project. However, I fixed it now.
You can have a try with the steps as below.

  1. Open Property of Project.
  2. Change the item value of “Character Set” to “Use Multi-Byte Character Set”.
  3. Rebuild your project.

Please send mail if you have any issue.

Thanks