几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】undefined Oddbkey In Oddbhostappservices (http://www.dimcax.com/hust/showthread.php?t=18865)

yang686526 2009-05-07 05:34 PM

【转帖】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.