BMS-HOSxP Community

HOSxP => Development => ข้อความที่เริ่มโดย: farmonline ที่ มกราคม 04, 2012, 10:32:41 AM

หัวข้อ: E2010 Incompatible types: 'PWideChar' and 'PAnsiChar' ใน Delphi XE2
เริ่มหัวข้อโดย: farmonline ที่ มกราคม 04, 2012, 10:32:41 AM
ขอความรู้จาก อาจารย์ทุกๆท่านครับ ผมมีปัญหาว่า ผมไม่สามารถใช้ Delphi XE2 ในการ Compile Component (ผมกำลังพยายาม Compile เจ้า TDBF  http://teleflow.org/software/opensource/tdbf/TDbf_Delphi_XE_v1.zip (http://teleflow.org/software/opensource/tdbf/TDbf_Delphi_XE_v1.zip)) ครับ มันขึ้น Error ว่า E2010 Incompatible types: 'PWideChar' and 'PAnsiChar' ไม่ทราบว่าพอมีทางแก้ไขไหมครับ


ปล. เท่าที่ ศึกษาคือ WideChar = 16 Bit แต่ AnsiChar คือ 8 Bit
อ้างอิงจาก http://stackoverflow.com/questions/4939854/what-is-the-difference-between-widechar-and-ansichar (http://stackoverflow.com/questions/4939854/what-is-the-difference-between-widechar-and-ansichar)