CompuServe Thread

#Access to _dos_findfirst

4 messages in this thread
#30219From: Mark WilliamsJul 7, 1994 11:57 PM
Your confused :-)! I am running VC++ 1.1 on NT. My assumption (correct me if I am wrong) is that I can target 16 bit apps. Th _dos_findfirst function is fully documented both in the online help and the reference guide. As collgue of mine also uses 1.1 and has the exact same DOS.H file as myself, without the _find_t structure defined. Cheers, MCW
#30237From: Thomas Zeisluft [MVP]Jul 8, 1994 3:22 AM
Mark, VC++ 1.1 targets win32 only ! And if you hit the compatibility button in the online doc, you will see they aren't supported on win32. If you want to target win16, you have to use VC++ 1.0 or VC++ 1.5, which of cours run on NT ( although 1.0 needs a patch AFAIK ). ThomasZ
#30336From: Steve DiricksonJul 8, 1994 7:31 PM
<< I am running VC++ 1.1 on NT. My assumption (correct me if I am wrong) is that I can target 16 bit apps.>> Nope. VCNT builds *only* 32-bit apps. If you stay within the Win32s subset of functions, these 32-bit executables can run under 16-bit Windows with the Win32s support installed, but they are still 32-bit NT executables. If you want to build 16-bit apps that can run under straight Windows or under DOS, you need the 16-bit MSVC product. FWIW, there's no such thing as "VC++ 1.1"; the current (and only) version of VCNT is 1.0.
#30346From: Mary Kirtland [MFCJ]Jul 8, 1994 10:04 PM
Mark, as others have indicated, VCNT targets 32-bit exe's only. You can use Win32s to run those exes on a Windows 3.1 or WfWg machine. If you're using Win32, you should be using the Win32 file functions. Hope this helps, Mary Kirtland MFCJournal