This gave me an idea:
What if we built a User Control that contained the connect and disconnect process? This could be contained inside the libSecondLife DLL, and basically it would contain input boxes for the un/password, a check box to save the login details (save to the registry and share with all other programs using the control) and the connect/disconnect button.
Then all an app developer would have to do is put the control on his form and handle "connected" and "disconnected" events.
I can write the control easily enough, and even incorportate it in to the accountant sample. I have to do it anyway to make my chat app work, so I figure why not make it available to everyone. If we updated the samples to use this, it should ease maintenance down the road, as well (only one module to fix when the process changes).
What do you think?
--
Tom Wilson
[EMAIL PROTECTED]
KI6ABZ
_______________________________________________ libsecondlife-dev mailing list libsecondlife-dev@gna.org https://mail.gna.org/listinfo/libsecondlife-dev