I am not trying to set the local hostname. In my app using a edit control need to accept a host name (fully qualified with DNS / without).
We do know we cannot use chars a (\ / ! @ # $ % ^). Is there a better way than programmatically parsing the user input.
Code needs to work in all languages (multi byte char set)
Thanks AnilG