sort order

Plug-in and third party software discussion.
Post Reply
Coolness
Posts: 1
Joined: Fri Jul 17, 2009 5:04 pm

sort order

Post by Coolness » Fri Jul 17, 2009 5:05 pm

Is it possible to have results returned sorted by path via IPC, or do I have to do the sorting myself?

David
Site Admin
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: sort order

Post by David » Mon Aug 17, 2009 6:44 am

you will have to sort them yourself.

Check the command line interface source for basic path sorting:
http://www.voidtools.com/es-src.zip

liuzhongshu
Posts: 2
Joined: Tue Oct 27, 2009 2:44 pm

Re: sort order

Post by liuzhongshu » Tue Oct 27, 2009 2:47 pm

I use Visual c++ 6 to build the es-src,
but I get the following error:

error LNK2001: unresolved external symbol _qsort_s

so, do I need newer version of visual studio?

David
Site Admin
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: sort order

Post by David » Wed Oct 28, 2009 12:15 am

qsort_s is available in VS 8 and most likely not available in vs 6.

I have removed the call to qsort_s and replaced it with qsort.
qsort uses a global variable for the list reference.

Please try the updated es-src from:
http://www.voidtools.com/es-src.zip

liuzhongshu
Posts: 2
Joined: Tue Oct 27, 2009 2:44 pm

Re: sort order

Post by liuzhongshu » Wed Oct 28, 2009 7:01 am

I download the file, but the cli.c still use qsort_s

David
Site Admin
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: sort order

Post by David » Wed Oct 28, 2009 8:06 am

most likely a cache issue, try:
http://www.voidtools.com/es-src2.zip

Post Reply