![]() |
【转帖】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 |
所有的时间均为北京时间。 现在的时间是 11:08 AM. |