error migrating from dwgdirect 1.11 to 1.12
error migrating from dwgdirect 1.11 to 1.12
hi there,
i'm developing an mfc activex control using dwgdirect 1.11 library. in that i need to provide print/preview functionality. but when i found in the bugs fixed in 1.12, 2046 print preview for ms is empty in odamfcapp,
i am forced to migrate from dwgdirect 1.11 to dwgdirect 1.12. but when i replaced the libraries and header files, i couldn't run the application. it was throwing link error.
the error was

listing: vc++ 6.0)
test1view.obj : error lnk2001: unresolved external symbol "public: virtual class odgitextstyles * __thiscall odgicontext::textstyles(void)" (?textstyles@odgicontext@@uaepavodgitextstyles@@xz )
test1view.obj : error lnk2001: unresolved external symbol "public: virtual class odsmartptr<class oddbdatabase> __thiscall exhostappservices::readfile(char const *,bool,bool,enum oda::filesharemode,class odarray<unsigned short,class odmemoryallocat
or<unsigned short> > const &)" (?readfile@exhostappservices@@uae?av?$odsmartptr@v oddbdatabase@@@@pbd_n1w4filesharemode@oda@@abv?$od array@gv?$odmemoryallocator@g@@@@@z)
test1view.obj : error lnk2001: unresolved external symbol "public: enum odresult __thiscall oddbsortentstable::movetobottom(class odarray<class oddbobjectid,class odobjectsallocator<class oddbobjectid> > &)" (?movetobottom@oddbsortentstable@@qae?aw
4odresult@@aav?$odarray@voddbobjectid@@v?$odobject sallocator@voddbobjectid@@@@@@@z)
test1view.obj : error lnk2001: unresolved external symbol "public: enum odresult __thiscall oddbsortentstable::getfulldraworder(class odarray<class oddbobjectid,class odobjectsallocator<class oddbobjectid> > &,unsigned char)const " (?getfulldraword
er@oddbsortentstable@@qbe?aw4odresult@@aav?$odarra y@voddbobjectid@@v?$odobjectsallocator@voddbobject id@@@@@@e@z)
debug/test1.exe : fatal error lnk1120: 4 unresolved externals
error executing link.exe.
i have not done any change in the code. still its showing some error.
in the old version, i was using the gdi.gs model.
how can i solve the issue..
is there anything new to be done, while migrating from dwgdirect 1.11 to 1.12
tia
thanks & regards,
rajesh parameswaran
last edited by rajuinnet; 6th december 2004 at 05:11 amfff">.
rajuinnet
# 7th december 2004, 05:35 am
moderator join date: mar 2002
posts: 2,994
be sure to use new headers and libraries. and recompile your object modules. it seems you are using headers and libraries of different versions.
sergey slezkin
sslezkin
none
? | ?
thread tools
display modes
linear mode
search this thread
rate this thread
excellent
good
average
bad
terrible
posting rules
you may post new threads
you may post replies
you may post attachments
you may edit your posts
is on
are on
code is off
html code is off
forum jump
user control panel private messages subscriptions who's online search forums forums home general topics news questions and remarks business issues industry commentary general software issues documentation issues future directions dwg libraries dwgdirect.net dwgdirect, c++ version dwgdirectx, activex version adtdirect/c3ddirect opendwg toolkit/viewkit dgn libraries dgndirect, c++ version (2.x+) dgndirect libraries (legacy 0.99xx)
all times are gmt -7. the time now is 12:38 amfff">.
- - -
copyright ?2000 - 2009, jelsoft enterprises ltd.
copyright 1998-2008 open design alliance inc.
be sure to use new headers and libraries. and recompile your object modules. it seems you are using headers and libraries of different versions.
sergey slezkin