Yes, that's nice, but what about compatibility with f.x. linux? i want to create program which can be run on platforms: ms windows & linux. there's anything else without windows.h?

But nice, i will check this function, u got it what i mean and u really help. By the way, if is any other way to AVOID the windows.h library, please, reply to me.