set password by code

Scott C. Best sbest "at" best.com
Sun Sep 11 19:10:01 2005


Max:

 	Heya. The Kaboodle application does this, so you can
find a C++ example of what it's doing here:

http://prdownloads.sf.net/kaboodle/Kaboodle_1.02_src.zip?download

 	Have a look in "LocalInstallWinVNC.cpp" in the
"RemoteVNC" folder.

cheers,
Scott

>
> Hi,
>
> I am installing vnc with a self created inno setup installation, and would
> like to not only set custom ports, but also a password.
> How can I write the password directly into the registry, how to encrypt it
> correctly?