![]() |
【转帖】readfile failure
readfile failure
readfile failure hi, while reading a customer provided dxf file using vc8mdd dwgdirect libraries (version 1.11), readfile method is failing in my custom application. when the same dxf file is read using vc6md libraries there was no error. i tried to open the dxf file using odamdi app dwgdirect version 1.08. i could open the file without any issues. even by using odamfc app (dwgdirect version 1.11) it didnt report any problem. can anyone of you please help me in resolving this issue. thanks, aparna the file would be helpful. the difference between vc8mdd and vc6md may be not in compiler version but debug/release configuration. in debug libraries assertion may terminate console application (and it shows message box in mfc application). sergey slezkin hi sergey, thanks for the response. i meant to say that readfile method of exhostappservices is failing when using vc8md dwg direct libraries . not getting any clue to resolve this issue. if its a debug/ release configuration problem then it should have worked atleast with respective configuration na?? i wanted to ask for a sample file but it would not help if odamfcapp opens it ok. most probably some module is missing in your application. what kind of failure do you have? if it's oderror exception what does oddberror::description() return? btw, odamfcapp you tried is built with vc6 or vc8? sergey slezkin re: hi sergey, no idea with what version (v6 or vc8) it has been built. but it uses dwgdirect libraries 1.08 version. the error it raised was "load entity %s on address %x error". dont know why this error was raised only with vc8md libraries?? exe\release and exe\debug folders are for vc6. stuff buit with vc8 is in exe\vc8\debug and exe\vc8\release folders. i can help if it's possible to reproduce the problem in one of our samples. btw, 1.08 was released in 2003.... sergey slezkin hi sergey, yeah with the sample application for reading the file i.e dwgdirect\projectfiles\win32\msvc2003\examples\odr eadex.vcproj file the same error as reported above occurs. this project is linked to vc8md ddlibraries last edited by aparna; 2nd april 2007 at 11:04 pmfff">. if so i need the file. sergey slezkin re: hi sergey, iam posting the dataset that is causing the problem while reading the file. please let me know about your comments. thanks, aparna attached files (540.5 kb, 7 views) last edited by aparna; 18th july 2007 at 04:22 amfff">. current dd version (2.4.1) and autocad do not see problems in your file. 1.08 was released 4 years ago.. also readex sample from ...\msvc2003\... can't be linked with vc8md libraries. vc8 is msvc2005. sergey slezkin hi sergey, iam getting "load entity %s on address %x error " when reading this dxf file. as of now its not possible for me to update my application with respect to current dwgdirect c++library version. so i need your suggestions to resolve this issue asap. the dwgdirect library version that iam using is 1.11 which was built with vs2005. thanks in adv aparna hi, many defects were fixed since 1.11. upgrade to 2.4 will be very useful for you. |
所有的时间均为北京时间。 现在的时间是 03:37 AM. |