ATL Compatibility Problem in vctobpr.exe

Abstract: vctobpr.exe produces a linker error when a Visual C++ example uses pur ATL

Question: I converted a Visual C++ project to C++ Builder 5.0 and Im 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.


Server Response from: ETNASC04