>>have a look at thread #
509580>
>Actually, I just realized I was a bit hasty with my answer in that thread. A much better solution is found in
this MSFT KB article. Cut and paste, baby.
I also see why Eric finds the function intimidating: one of the calls uses a structure. Well, guess what? I wrote another one that demystifies structures:
click here. It's only a contiguous piece of memory, with an agreed upon size of the structure elements, so pass it one.
Mike Stewart