Results 1 to 10 of 23

Thread: %_sb_errorcode% = -1

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #23

    Default Re: %_sb_errorcode% = -1

    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
    Attached Images Attached Images  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •