Does DmInsertionSort work?

2002-01-28 Thread Louis
I want to sort the records in my PDB. I am trying to get DmInsertionSort to work for this. I have defined the following Compare function (added lots of code to make debugging inspection easier): Int16 MySort(void* Rec1,void* Rec2,Int16 Other, SortRecordInfoPtr Rec1SortInfo,SortRecordInfoPtr

Re: Does DmInsertionSort work?

2002-01-28 Thread Louis
Solved my problem I had to expand the record into the structure as opposed to just pointing to it. I misinterpreted what the rec1 rec2 pointers actually pointed to... I want to sort the records in my PDB. I am trying to get DmInsertionSort to work for this. I have defined the