I have an old module that uses _dos_findfirst and _dos_findnext which I need to revive into the Windows 7 era.
I downloaded DIRPORT.C and DIRPORT.H and used FIND_FIRST and FIND_NEXT instead. I also use the DOSFileData structure. My main issue is that the filename has to be defined as LPCWSTR (I use VS 2010.) I understand the reason and I also understand that DIPORT is meant for WIN23 and not for Windows 7 64 bits, but I do compile under Win32 project.
Is there a way around this issue or should I prompt the authors to make a change in the package?