File size is returning Zero in Clarion

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
sk2107
Posts: 290
Joined: Sun Aug 07, 2022 8:48 pm

File size is returning Zero in Clarion

Post by sk2107 »

Hi,

I has been a long time since I had an issue.

Now I noticed the the size of file is returning Zero in clarion (no matter what the size is), I used to use sizelow and it was OK. now it is returning Zero although the application was not touched since a long time. I tried to use SizeHigh instead but still the same.

Regards
therube
Posts: 4638
Joined: Thu Sep 03, 2009 6:48 pm

Re: File size is returning Zero in Clarion

Post by therube »

Clarion db?
And what is this the size of?
horst.epp
Posts: 1350
Joined: Fri Apr 04, 2014 3:24 pm

Re: File size is returning Zero in Clarion

Post by horst.epp »

How is that related to Everything ?
There is no function or modifier named sizehigh or sizelow in Everything
and no support in any way for Clarion, whatever this is.
sk2107
Posts: 290
Joined: Sun Aug 07, 2022 8:48 pm

Re: File size is returning Zero in Clarion

Post by sk2107 »

No my dears. It is related to Everything clarion sdk.


https://www.voidtools.com/support/every ... k/clarion/

Regards
void
Developer
Posts: 15443
Joined: Fri Oct 16, 2009 11:31 pm

Re: File size is returning Zero in Clarion

Post by void »

Please make sure you are calling Everything_SetDetail(1) before calling Everything_GetResult.

The Clarion SDK currently does not support requesting size and date modified information.

With Everything_SetDetail enabled, the SDK will gather the size information when you call Everything_GetResult.
This can be slow if called for a lot of results.



The Clarion SDK needs to be updated to support the newer/faster Everything IPC size requests.
sk2107
Posts: 290
Joined: Sun Aug 07, 2022 8:48 pm

Re: File size is returning Zero in Clarion

Post by sk2107 »

I will check that.

Thanks a lot and Best Regards
sk2107
Posts: 290
Joined: Sun Aug 07, 2022 8:48 pm

Re: File size is returning Zero in Clarion

Post by sk2107 »

Hi,

I checked my code and found I already used Everything_SetDetail(1) and I always use the sample code you provided with all its details as a guide.

Best Regards
void
Developer
Posts: 15443
Joined: Fri Oct 16, 2009 11:31 pm

Re: File size is returning Zero in Clarion

Post by void »

The Clarion SDK calls GetFileAttributesEx with GetFileExInfoStandard to get the file size.

Please make sure your project has access to the drive indexed by Everything.

You may need to run your project as administrator to access size information for certain files.
sk2107
Posts: 290
Joined: Sun Aug 07, 2022 8:48 pm

Re: File size is returning Zero in Clarion

Post by sk2107 »

Hi,

I already checked all that but it did not work. But don't worry I already have a clarion function which gets the file size so the issue is solved for me.

But please if you have any suggestion about this post:
viewtopic.php?t=12932

thanks a lot for your great support.

Best regards
Post Reply