Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nasty Directory Delete Function
#7
(09-15-2022, 03:45 AM)eoredson Wrote: I changed the _unsigned long to _unsigned _integer64 and it crashed.

From what I can tell the win32_find_dataa udt _unsigned long is 32-bit which is 4*1024^3-1

Unless you have a win64_find_dataa which would be 64-bit or 16*1024^6-1.

Erik.

You wouldn't adjust them by making longs into integer64s but you would just add padding where necessary. I'll look at your code and see if it works in 64 bit. If not, I'll help adjust your TYPEs. I'll get back to you later on this.

EDIT: The code ended up working just fine. Sweet. Good work. It deleted the directory I gave it as well as the files within.
The noticing will continue
Reply


Messages In This Thread
Nasty Directory Delete Function - by eoredson - 09-14-2022, 05:51 AM
RE: Nasty Directory Delete Function - by eoredson - 09-15-2022, 02:06 AM
RE: Nasty Directory Delete Function - by eoredson - 09-15-2022, 03:45 AM
RE: Nasty Directory Delete Function - by SpriggsySpriggs - 09-15-2022, 01:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Function IsWord%(test$) bplus 5 211 02-26-2026, 02:51 PM
Last Post: mdijkens
  Another Directory Tree Utility eoredson 0 490 04-18-2025, 02:52 AM
Last Post: eoredson
  Simple directory display eoredson 0 530 03-29-2023, 03:01 AM
Last Post: eoredson
Photo Dirwalker - Simplistic and Ergonomic Directory Browser Sanmayce 35 7,572 01-30-2023, 10:02 PM
Last Post: Sanmayce
  Directory Create Utility eoredson 6 1,569 09-17-2022, 11:43 AM
Last Post: Kernelpanic

Forum Jump:


Users browsing this thread: 1 Guest(s)