高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】oddbbasedatabase
oddbbasedatabase
oddbbasedatabase
2.5.1 has introduced the concept of oddbbasedatabase (or maybe 2.5.0 did, i never used it).
what is the relationship between oddbbasedatabase and oddbdatabase?
can one be safely cast to the other?
if not, gicontext returns oddbbasedatabase. is there a way to get oddbdatabase similarly inside the vectorization context?
unfortunately the c++ documentation is sadly lacking in an explanation of oddbbasedatabase and the only time it is mentioned in the samples (in odamfcapp) it is merely used as a formal argument to findfile and that parameter always defaults in use, so that is not very enlightening.
thanks.
last edited by tailormade; 18th march 2008 at 04:14 pmfff">.
this is a common base of dgn and dwg databases.
if you know that you are dealing with dwg, you may blind-cast it to oddbdatabase. if not - use runtime cast (like oddbdatabase::cast() )
vladimir
what is the possibility of a small mfc application showing how the dwg and dgn libraries are supposed to compile together? as you will see from my dedicated thread in the dgndirect support area i am having many problems getting the basic host/app services of both clients compiling. the is probably because i don't fully understand how to use the two systems together.
i'll redirect your question to the right person.
vladimir
thank you. i hope to hear from someone soon then!
andrew
|