中国象棋控件 v2.0.13
|
作者: 康林(kl222.nosp@m.@126.nosp@m..com)
git clone https://github.com/KangLin/ChineseChessControl.git mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=`pwd`/install -DCMAKE_BUILD_TYPE=Release #配置 cmake --build . --config=Release #编译 cmake --build . --config=Release --target install #安装
regsvr32 /s /c "D:\Source\ChineseChessControl\Src\.\DebugU\ChineseChessControl.ocx"
注册中国象棋控件
Testing Properties and Events with Test Container
如果没安装,则可从 github 上下载源码
工具->外部工具->添加
棋盘描述
[0][0] ------------------> i 或 x 方向 | | | | | | \|/ [9][10] j 或 y 方向
WIndows 中文系统字符编码默认为GB2313。 linux系统下字符编码一般使用 UTF-8 。 所以本项目跨平台部分的文件中的字符釆用**多字节编码**, 而与VC相关的部分文件使用 UNICODE 编码(位于:UI/ActiveX 和 App/MFC)。