I am building Win32 apps using MS VS 2010 C++ Express on a HP laptop running 64-bit Win 7 Professional.
I have a utility that creates directory trees and file lists using
FindFirstFile(). The Utility ALWAYS works as desired EXCEPT when the operand directory string ends with "\My Documents\"
I.e., when wchar_t wcFspecTemplate[512] == "c:\Users\Robert\My Documents\"
I find it absolutely amazing that no else appears to have complained about this, leading me to conclude that there must be a straightforward work-around that I have yet to discover. Can anyone enlighten me?
Thanks for attending to this.