The compiler complains at this line about lstrlenW being passed an incompatible pointer type
+ else if (lstrlenW(value) >= prefix_len)
should it be lstrlenW(*value) ?
_________________________________________________________________ Climb to the top of the charts! Play Star Shuffle: the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct