几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】dd 1.11, error loading vectorizing module - key not found (http://www.dimcax.com/hust/showthread.php?t=15614)

yang686526 2009-05-04 07:01 PM

【转帖】dd 1.11, error loading vectorizing module - key not found
 
dd 1.11, error loading vectorizing module - "key not found"
dd 1.11, error loading vectorizing module - "key not found"
first of all thanks for your continuous support and development of this great library - the new 1.11 version addresses one big problem i had with blocks that had entities inside frozen layers
well, i'm trying to upgrade my application to dd 1.11 but i'm facing one problem with the new rendering modules: i don't know why but it can't load wingdi.gs; when i call
:drxdynamiclinker()->loadmodule (path_to_wingdi_gs, false);
an exception with message "key not found" is thrown; what does this mean? i looked at odamfcapp example code and didn't find what i'm missing... (btw the examples work fine);
thanks a lot,
tiago gehring
ps: i'm using the dll version of dwgdirect, vc6
hi,
i doubt whether we can help you while can't reproduce the problem. so could you provide us with the simple app (c++ code) that reproduces it.
i had same problem. try to insert
odrx_init_static_module_map();
after odinitialize(...).
best regards,
ivan obraztsov

thanks, it worked now; the problem was that in debug mode i was using the static version of the toolkit (i thought i was using the dynamic version). after changing it to use the dll version it worked, i think it should work also with the static version but anyway, it's working now;
thanks again,
tiago


所有的时间均为北京时间。 现在的时间是 05:08 PM.