Jeff,
> Why does SetCurrentDirectory() only work as *STRING vs *CSTRING?
>
> I assumed that was a typo on your part, but it crashes with *CSTRING.
>
> So why does *CSTRING work with GetCurrentDirectory? and why does work
> at all, since you're just passing the one parameter?
>
> http://msdn.microsoft.com/en-us/libr...34(VS.85).aspx
Why? Because I had too much coffee or not enough <g>. Of course, you are
absolutely right. The GetCurrentDirectory prototype was completely
incorrect. I have uploaded a corrected example. And see attached new
prototype.
Sorry for the confusion!
Thanks,
Friedrich