CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2002
    Location
    kansas
    Posts
    4

    Smile FindFirstFile failed on a network drive

    Hi,

    We have an app monitors one directory to pick up files, it works fine with local directories and some of the network directories on my other machine.

    But it failed on our company's mapped dirve, I tried to debug it, suprised me, it worked fine with the debug version , but the same code, same directory, release version failed, it only gave me an error, "Access Denied" for "FindFirstFile".

    I can access (read/write) that directory in the Windows Explorer, and tried to talk to our IT guys, they said nothing special on that folder priviledges.

    So I hope someone here had some silimar experiences, tell me which direction should I go for? What could be the reason?

    Thanks a lot in advance.

    Helen

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: FindFirstFile failed on a network drive

    Helen that sounds akward, are you sure it's nothing else that's spooking you? Some times compilers can fool you by making all uninitalized variables to be zero in debug but not in release. Maybe that's what's make the differens?

  3. #3
    Join Date
    Jul 2002
    Location
    kansas
    Posts
    4

    Re: FindFirstFile failed on a network drive

    S M A,

    Thanks for the idea, I'm going to try that.

    Thanks, Helen

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured