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 »

Is it possible to have results returned sorted by path via IPC, or do I have to do the sorting myself?
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: sort order

Post by David »

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 »

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
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: sort order

Post by David »

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 »

I download the file, but the cli.c still use qsort_s
David
Developer
Posts: 430
Joined: Tue Mar 17, 2009 1:42 am

Re: sort order

Post by David »

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