Path Limit in Clarion

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

Path Limit in Clarion

Post by sk2107 »

Hello,

while reading list of folders from clarion, the path length results are limited to 260 characters even when I changed the definition of FullPathFileName from 260 to any higher number , it still getting the first 260 characters only.
Everything_GetResult
index LONG
result GROUP
! FullPathFileName STRING(260) !The full path and file name of the result
FullPathFileName STRING(2260) !The full path and file name of the result
Regards
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Path Limit in Clarion

Post by sk2107 »

I am not so familiar with C but I think the case is from everything.cpp
typedef struct
{
char FullPathFileName[260];

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

Re: Path Limit in Clarion

Post by void »

I've rebuilt the clarion DLL to support 1024 characters.

Does this help?
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Path Limit in Clarion

Post by sk2107 »

Thank you for your rapid response.

Sure it will help, but unfortunately I got this error while re-compiling my application with the new DLLs:

2022-11-07 06 36 53.jpg
2022-11-07 06 36 53.jpg (20.82 KiB) Viewed 1728 times

And if it is possible to set it to 2048 just in case (otherwise it is OK)

Best regards
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Path Limit in Clarion

Post by void »

It's been awhile since I've built a clarion lib...

I've rebuilt the clarion DLL to support 2048 characters.

I've also used the Clarion LIBMAKER this time.
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Path Limit in Clarion

Post by sk2107 »

It is perfect.

Thanks a lot With Best Regards.
Post Reply