![]() |
【转帖】still Having Trouble With Recomputedimblock
still having trouble with recomputedimblock
still having trouble with recomputedimblock i never got a response to my last question on this, so i tried simply adding the recomputedimblock files to my project and added the line: :drxdynamiclinker()->loadapp("recomputedimblock").release(); after odinitialize() everything seemed to compile and link ok, but i am still getting an exception on this line: m_pcurrentdim->recomputedimblock(); with the following text: unhandled exception at 0x7c81eb33 in ais.exe: microsoft c++ exception: oderror_notthatkindofclass @ 0x0012cb38. pointing to this code: _crtimp void * __cdecl malloc (size_t nsize) { void *res=_nh_malloc_dbg(nsize,_newmode,_normal_block,n ull,0); rtccallback(_rtc_allocate_hook, (res, nsize, 0)); return res; } what am i missing? if you use dll version recomputedimblock.drx must be in your application folder. if static build - see odamfcapp or odwriteex samples for using static modules - search for recomputedimblock. sergey slezkin got it i eventually copied in the correct mix of maps and includes. still, documentation would be good. static modules usage is described in dwgdirect developer's guide - creating custom objects and applications. sergey slezkin |
所有的时间均为北京时间。 现在的时间是 03:04 AM. |