Page 1 of 1

sort order

Posted: Fri Jul 17, 2009 5:05 pm
by Coolness
Is it possible to have results returned sorted by path via IPC, or do I have to do the sorting myself?

Re: sort order

Posted: Mon Aug 17, 2009 6:44 am
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

Re: sort order

Posted: Tue Oct 27, 2009 2:47 pm
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?

Re: sort order

Posted: Wed Oct 28, 2009 12:15 am
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

Re: sort order

Posted: Wed Oct 28, 2009 7:01 am
by liuzhongshu
I download the file, but the cli.c still use qsort_s

Re: sort order

Posted: Wed Oct 28, 2009 8:06 am
by David
most likely a cache issue, try:
http://www.voidtools.com/es-src2.zip