CompuServe Thread

#resub findfirst() ?

2 messages in this thread
#50377From: Lee Hart [Microsoft]Aug 2, 1993 11:32 AM
>>>I'm confused as to the meaning of "32-bit" in the document Q99456.INF. My confusion is directed toward the "_findfirst()" function that is common to both 16-bit and 32-bit compilers. According to the C Runtime docs as shipped with the Win32 SDK for Windows NT, this function is only available with the 32 bit C Runtime. _dos_findfirst is available int the 16 bit C Runtime. >>>The question has to do with the requirement that filename opens, and finds for the current directory, the directory for which the app is to run. Must have the path before these functions will work. Can some one reply to this. >>>The call that would be made is _findfirst("test.h",&fdata);. Where test.h is a file to be found in the current directory of the executable. Are you asking about _findfirst() or FindFirstFile()? Also, the current directory is not necessarily the same as the directory where the .EXE is. Are you finding that _findfirst is failing for you? If so, is this under Windows NT or only Win32s? Thanks Lee There is 1 Reply.
#51226From: james lopesAug 9, 1993 8:14 AM
That would be _findfirst() under WinNT. Thanks for your help Lee. James