bcb中使用pas文件
因?yàn)橐郧岸嘤胐elphi開(kāi)發(fā),最近需要用c++builder 開(kāi)發(fā)一些小軟件,正好bcb可以使用delphi的源碼,所以直接添加,因?yàn)閐elphi的pas源碼中使用了部分的raize控件,所以bcb中也需安裝raize,幾經(jīng)周折,終于將raize安裝到了bcb中,但是編譯時(shí)卻在d uxtheme.hpp中出現(xiàn)了兩個(gè)need a identifier to declare的錯(cuò)誤,修改如下:
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;
編譯通過(guò)。
總結(jié)
以上是生活随笔為你收集整理的bcb中使用pas文件的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: HTML5高层模块不应该依赖于底层模块
- 下一篇: 字符串数组中查找字符串