|
int __fastcall MessageBox(const char * Text, const char * Caption, int Flags = MB_OK);
찾아서 Example 내용을
Application->NormalizeTopMosts();
int result = Application->MessageBox("This should be on top.", "Look", MB_OK);
Application->RestoreTopMosts();
아래 내용을 c++builder 2009 넣으면
Cannot convert' const char * to 'const wchar_t *
Type mismatch in parameter Text (wanted' const wchar_t* , got 'const char *)
에러가 표시 됩니다.
제가 const char* / const wchar_t * 사용이 미숙해서
둘의 사용법과 차이점을 알고 싶습니다.
위의 내용이 c++builder 2009 에서 에러 나는 이유를 알고 싶습니다.
|