Message 1 of 9

Not applicable
04-23-2012
08:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to remove password from dwgs whose password is know. I can open these dwgs by known pasword, but I can't find a way to save them without password.
SecurityParams secParams;
{
secParams.cbSize = 48;
secParams.ulFlags = 1;
secParams.ulProvType = 1;
secParams.ulAlgId = 26625;
secParams.ulKeyLength = 40;
secParams.wszPassword = szPassword;//if I give NULL to this param, the "saveAs" method crushes.
secParams.wszProvName = _T("Microsoft Base Cryptographic Provider v1.0");
}
es = pDb->saveAs(szFileName,&secParams);// I want to remove their passsword
Solved! Go to Solution.