CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 13 of 13

Threaded View

  1. #4
    Join Date
    Nov 2001
    Posts
    323

    Re: SHFileOperation question

    Unicode must be enabled

    shDelete.pFrom = (LPCTSTR)pathWild.operator BSTR( );

    or you could load the bstr into a TCHAR buf[255];

    I got these suggestions here:
    http://www.csupomona.edu/~dlbell/cpp...sfa99/174.html

    the msdn states: Multiple names must be null-separated. The list of names must be double null-terminated.
    so I'm not sure you can use wild cards (.*)

    HTH,
    Last edited by Zim327; January 11th, 2005 at 02:28 PM. Reason: additional info
    Best Regards,

    --Zim
    If you find this post useful, please rate it.
    _________________________________
    "Have you the brain worms?!?!?"

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