Change user password from client

I would for users to be able change their password from application. I've difficult to realize
this. Can anyone send me an example? Application is written in Delphi 5. Thanks

Marco