![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 01:01 AM. |