bcb中使用pas文件
因為以前多用delphi開發,最近需要用c++builder 開發一些小軟件,正好bcb可以使用delphi的源碼,所以直接添加,因為delphi的pas源碼中使用了部分的raize控件,所以bcb中也需安裝raize,幾經周折,終于將raize安裝到了bcb中,但是編譯時卻在d uxtheme.hpp中出現了兩個need a identifier to declare的錯誤,修改如下:
typedef enum PROPERTYORIGIN
{
??? PO_STATE,?????????? // property was found in the state section
??? PO_PART,??????????? // property was found in the part section
??? PO_CLASS,?????????? // property was found in the class section
??? PO_GLOBAL,????????? // property was found in [globals] section
??? PO_NOTFOUND???????? // property was not found
} PROPERTYORIGIN;
?
typedef enum THEMESIZE
{
??? TS_MIN,???????????? // minimum size
??? TS_TRUE,??????????? // size without stretching
??? TS_DRAW??????????? // size that theme mgr will use to draw part
} THEMESIZE;
編譯通過。
總結
以上是生活随笔為你收集整理的bcb中使用pas文件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HTML5高层模块不应该依赖于底层模块
- 下一篇: 字符串数组中查找字符串