Information générale
Catégorie:
COM/DCOM et OLE Automation
>>It appears that the XMLTOCURSOR utility does not honor the index tag of a cursor when called thru a DLL. When the object is instantiated in FoxPro, the XML string is in the order specified by the 'set order to tag ...', however, when the library is compiled into a DLL, the XML is always returned in the physical record order.
>
>Hmm. I don't get this. Perhaps you can bypass the problem by selecting results into a cursor using the ORDER BY clause, and performing the CursorToXML on that?
That is the workaround I used, but this is a web application and I wanted to squeeze as much speed and performance as possible.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement