OMG!  Thank you very much. 

So my question is, why does my way work on some machines, but not others?  Is it because of SP2 or maybe a 64 bit enviornment?  At least I know now WHY it was failing. 

Thanks again,
-#2pencil-
Posted on 2005-09-20 08:16:35 by number2pencil
Windows works in mysterious ways :)

You passed wrong parameters to some API calls, and in that case you get undefined behaviour. The really bad thing about undefined behaviour is that sometimes it seems to work - and when it does but later on doesn't, you get some people claiming that windows is b0rked etc. while it's really their own code.
Posted on 2005-09-20 08:58:35 by f0dder