You did point me in the right direction. While your example didn't work, it did help me on getting it to work.
I have attached my example of a function for getting part of a string. It now works in windows vista.
I am thinking of writing a book on U++ for other, to be published in America. Which I sure would help U++ to get more noticed by others. Not sure what all it takes from U++ to do this I.E. permission to do this, or if anyone would like to help on it.
I am new to C++, and use windows for GUI. I do know some unix but command code only.
I come from a background of programming in VB 6, and mostly web back ground. But VB 6, will not do what I need done for a program, and I am not sure what if Microsoft programming will do what need.