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

passworded files
passworded files
is there a limitation to dwgdirect and passworded files, i've called the readfile function with and without the real pass, and with the odpassword() as parameter, and everytime the same result, it wont open the file and will just give me an eexception.
dwgdirect can read password-protected files (assuming password is known). and write them too.
see odamfcapp sample.
note that password must be specified in unicode (2 bytes per character).
sergey slezkin
quote:
...without the real pass, and with the odpassword() as parameter,
btw, in case you do not specify password, the oddbhostappservices::getpassword() function will be called (you could overwrite it in your implementation of host services) and you will have a chance to supply the password. check odamfcapp example for details.
thanks i'll check it out when i have a minute, i've been busy on another project for last few days but i will check this out as soon as i can
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)