EldoS | Feel safer!

Software components for data protection, secure storage and transfer

how to setpassword?

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
Posted: 03/19/2008 03:19:50
by xiaoqing lu (Basic support level)
Joined: 02/13/2008
Posts: 19

Hello All,

I use solfsExplorer to create a storagefile "solfs.st" with password "1234567890". Then I try to add mountpoing to it by the following steps, but always failed at StorageSetPassword() for error 87, which means invalid parameter. Could you help me check what's wrong? Thanks.

rc=StorageSetRegistrationKeyEx(Storage, g_Key);
/*prepare passwd */
char *inputPasswd="1234567890";
wchar_t passwd[250];


rc=StorageAddMountingPoint(Storage, Drive);
Posted: 03/20/2008 11:09:37
by Alexander Plas (EldoS Corp.)

Please specify password size in bytes not in characters. We will include appropriate changes in the documentation.
Posted: 03/20/2008 20:47:08
by xiaoqing lu (Basic support level)
Joined: 02/13/2008
Posts: 19

But I still got the same erro after change it as following:
Posted: 03/21/2008 02:25:04
by Alexander Plas (EldoS Corp.)

Moved to Helpdesk



Topic viewed 2902 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!