高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】undefined Oddbkey In Oddbhostappservices
undefined oddbkey in oddbhostappservices
undefined oddbkey in oddbhostappservices
hi,
i am upgrading a custom app from the 2.2.0 to the 2.4.1 libraries.
the custom app has a parent class named services that inherits from oddbhostappservices. oddbhostappservies has a pure virtual function, key(), that returns a pointer to an instance of oddbkey. oddbkey is not defined in any of the header files.
i searched the forum for "oddbkey" and found a relevant thread. i redefined virtual oddbkey* key() const = 0;fff">fff"> to virtual oddbkey* key() const;fff">fff">.
i also added dd_key.lib to the list of linked libraries.
i am getting an unresolved symbol link error:
public: virtual class oddbkey * __thiscall services::key(void)const " (?key@services@@ubepavoddbkey@@xz)
do i need to define the oddbkey class before i can instantiate oddbhostappservices?
if so, are there any examples of oddbkey definitions?
thanks,
doug forsythe
you should derive your hostappservices class from oddbhostappservices2.
see release notes.
sergey slezkin
|