查看单个帖子
旧 2009-05-06, 10:53 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem on novell netware volumes

problem on novell netware volumes
problem on novell netware volumes
i recently upgraded our application from using dwgdirect 1.14.2 to 2.4.2.
the new library didn't function on win 98 pcs but i solved the problem installing unicows.dll (the microsoft layer for unicode on windows 95/98/me systems).
now i've found another problem.
if you try to save with pdb->writefile(...) to a novell netware volume you got no error or exception but the resulting file is not a valid dwg (!!!).
with the previous version (1.14.2) this problem does not happen.
any idea?
thanks.
luca
(attached is the building.dwg sample converted from 2004 to 2000 with our application on a novell netware volume)
attached files
the file is realy not a valid dwg. it seems that some portion of data at the beginning of the file is missing. dwg shoud start with bytes "ac1015" if it's version is r15.
we have no nowell.
file operations are implemented in extensions/exservices/odfilebuf (available with sources).
you can override systemservices::createfile() and return your own implemetation of odstreambuf interface from it.
(this implementation can be simply renamed odfilebuf. it would help in investigating the problem).
see extension/exservices/exsystemservices - createfile().
sergey slezkin
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)