C++ Builder 6에서 쓰던 소스를 CodeGear C++ Builder 2009 에서 돌리니
Cannot convert 'WideString' to 'wchar_t *' 에러가 주루루룩~
무엇때문인지는 확실히 모르지만 암튼 해결방법은
WideString 대신 StringToOleStr 를 사용하면 된다는것 ㅡㅡv
도움말의 Description을 보면 다음과 같다. (뭐, 바도 모르겠지만 -_-;)
StringToOleStr allocates memory and copies string data from a native AnsiString into a format that can be passed to OLE functions.
Cannot convert 'WideString' to 'wchar_t *' 에러가 주루루룩~
무엇때문인지는 확실히 모르지만 암튼 해결방법은
WideString 대신 StringToOleStr 를 사용하면 된다는것 ㅡㅡv
도움말의 Description을 보면 다음과 같다. (뭐, 바도 모르겠지만 -_-;)
StringToOleStr allocates memory and copies string data from a native AnsiString into a format that can be passed to OLE functions.
'아카이브' 카테고리의 다른 글
| 인터넷 익스플로러 hungapp 조치방법 (1) | 2009.11.26 |
|---|---|
| 데이터베이스 사용하고 있는 프로세스 보기. (0) | 2009.10.06 |
| 델파이 및 C++ 빌더 파일 확장자 비교 (0) | 2009.06.24 |
| [SQL] Update + Select (0) | 2009.06.05 |
| TMemo 컨트롤 사용시 스크롤바 자동으로 내리기 (0) | 2009.05.28 |