For all of you that haven't seen it, there is a program called VNC viewer that allows you to view desktops remotey. The component that I need just has to duplicate the DES encryption that this (free) program uses (source code widely available) and write a new password value to the binary registry key. i.e. feed the component a new password, it encrypts it and writes the new binary val to the VNC reg key just like VNC would if you were changing the password by hand. That's it.
I've tried to do this myself, but I' not an encryption expert and I can't figure out how VNC is generating the value that it is storing in the binary reg key.
A DLL that will 1) accept a text string, 2)encrypt the value just like VNC does, and 3)store it in the reg key where VNC gets the password from (HKEY_CURRENT_USER\Software\ORL\WinVNC3) keyname='Password' type=REG_BINARY
VNC will then pick up this value each time it starts.
I can even give you the code that will help to store the registry value if you need it...
It must also return a result code of whether or not the key was written, and if not, why it wasn't written.... nothing big. Just need to know if something is wrong.
Windows 95, 98, and 2000.