NO

Author Topic: Are the _findfirst64 and _findnext64 functions DEPRECATED?  (Read 87 times)

Offline Robert

  • Member
  • *
  • Posts: 193
Are the _findfirst64 and _findnext64 functions DEPRECATED?
« on: July 31, 2020, 04:55:41 am »
The _findfirst and _findnext functions are DEPRECATED.

Are the _findfirst64 and _findnext64 functions DEPRECATED?

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2064
    • http://www.smorgasbordet.com
Re: Are the _findfirst64 and _findnext64 functions DEPRECATED?
« Reply #1 on: July 31, 2020, 12:23:52 pm »
The _findfirst and _findnext functions are DEPRECATED.

Are the _findfirst64 and _findnext64 functions DEPRECATED?

I decided to deprecate _findfirst() and _findnext() in Pelles C. With ANSI and Unicode version, 32-bit and 64-bit file size version, and now 32-bit and 64-bit time version, it turned into waaaay too many variations of the same. It should be a simple/mechanical change to use _findfirst64()/_findnext64() instead of _findfirst()/_findnext().
/Pelle

Offline John Z

  • Member
  • *
  • Posts: 80
Re: Are the _findfirst64 and _findnext64 functions DEPRECATED?
« Reply #2 on: August 01, 2020, 06:19:43 pm »
Robert,

It is pretty easy to do, I've done it.  The only other thing you'll need to be aware of is that the size element in the structure changed from returning unsigned long int  to returning unsigned long long int.  Otherwise search and replace  :).

Regards,
John