EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Order search by date

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 03/13/2008 03:18:08
by Dan Cooper (Standard support level)
Joined: 06/27/2007
Posts: 125

Is it possible to use FindFirst() and FindNext() to find files by date order?
Posted: 03/13/2008 05:13:22
by Alexander Plas (Team)

No, you should retrieve all needed files and sort it manually.
Posted: 03/13/2008 05:33:54
by Dan Cooper (Standard support level)
Joined: 06/27/2007
Posts: 125

Thanks, that is what I thought.

I do have an issue with FindFirst() at the moment. When I call it like:

StorageSearch search = new StorageSearch();
FindFirst(@"\MyFolder\*", 0x1, ref search);

It returns

A first chance exception of type 'System.OverflowException' occurred in mscorlib.dll

Additional information: Not a legal OleAut date.

What could cause this exception?
Posted: 03/13/2008 05:52:51
by Alexander Plas (Team)

Moved to HelpDesk



Topic viewed 2975 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!