高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】crash in gedbl.cpp
crash in gedbl.cpp
crash in gegbl.cpp
i get an "invalid execution" exception from gegbl.cpp at line 24. i get this in multiple places and it appears when i'm working with blocks. this code was working fine in 2.04. any idea whats changed?
thanks,
tyler
last edited by tillerstarredwards; 18th december 2007 at 08:08 amfff">.
isolated it to this function
i have a "preview" device that i use to render a block into a cdc. i use this function to make it fit into the space provided... and it is what is tossing that exception.
odabstractviewpeptr(pview)->zoomextents(pview);
i went to the trouble of trying to reproduce in odamfcapp, but discovered my error instead...
odabstractviewpeptr(pview)->zoomextents(pview); seems to now throw an exception when the device rect width is zero.
thanks,
tyler
tillerstarredwards
|