![]() |
【转帖】setupactivelayoutviews Problem With 1.13.02
setupactivelayoutviews problem with 1.13.02
setupactivelayoutviews problem with 1.13.02 i am trying to upgrade my project from dwgdirect 1.11.02 to 1.13.02. but it crashes with an access violation exception in odqueryximpl(...) after calling setupactivelayoutviews(). with dwgdirect 1.11.02 i had no problems. i added the call of init() in createview() as suggested in the release notes. i think this fails and so it results in a runtime exeception. what can i do? klaus # 5th august 2005, 05:08 am softdev join date: aug 2003 location: st-petersburg, russia posts: 918 klaus, as i know setupactivelayoutviews() was redesined several times since 1.11. i could advise to look at dd's samples again (in \examples & \exports folders). this call is used there often. also it would be useful to search this topic on this point. but it is a pity you can do it manually only because 'serch' is weak here. misha kuzinets misha kuzinets # 5th august 2005, 05:45 am registered user join date: sep 2003 posts: 12 now it works i had to add odgsinitialize() i have not found something about that in the release notes. i think that should be added. klaus # 5th august 2005, 06:30 am softdev join date: aug 2003 location: st-petersburg, russia posts: 918 quote: originally posted by klaus now it works i had to add odgsinitialize() i have not found something about that in the release notes. i think that should be added. it seems you right and these changes are not explained directly in release notes. misha kuzinets misha kuzinets 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:04 amfff">. - - - copyright ?2000 - 2009, jelsoft enterprises ltd. copyright 1998-2008 open design alliance inc. klaus, as i know setupactivelayoutviews() was redesined several times since 1.11. i could advise to look at dd's samples again (in \examples & \exports folders). this call is used there often. also it would be useful to search this topic on this point. but it is a pity you can do it manually only because 'serch' is weak here. misha kuzinets now it works i had to add odgsinitialize() i have not found something about that in the release notes. i think that should be added. quote: originally posted by klaus now it works i had to add odgsinitialize() i have not found something about that in the release notes. i think that should be added. it seems you right and these changes are not explained directly in release notes. misha kuzinets |
所有的时间均为北京时间。 现在的时间是 02:23 AM. |