Главная страница | назад

Article #20765: ATL Compatibility Problem in vctobpr.exe

Question: I converted a Visual C++ project to C++ Builder 5.0 and I’m getting unresolved external AnsiString.

Answer: The project conversion utility vctobpr.exe defines the rule USING_VCL in the converted project. This causes a problem when compiling Visual C++ projects that us MFC and ATL. The rule USING_VCL can be defined in a number of places. What you need to do is grep for the rule and remove it.

Last Modified: 21-MAR-00