Hi,
I found out that AutoCAD Map saves passwords for FDO FeatureSources somehow encrypted to the following registry key (if the user wants that): HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R*\ACAD-*\Applications\AcMapFeatureSourceManager\PCache
Is there any API that I can use to save these passwords programmatically?
Alternatively I could write the data directly to the registry, but I don't know how to create the binary (encrypted?) data.
Any hints?
Markus
There is no API to save encrypted password to registry to make it regconizable for Map 3D.
An alternative is to create the feature source(data connection) on the fly with API, which needs your username and password, of cause you can save your username and password anywhere safely with generic programming skills. To create a feature source on the fly with API, please refer to the sample "BuildMap" in Map 3D SDK, it locates in C:\Map ObjectARX SDK 2014\Map Samples\Platform\BuildMap