Great, we need to revise our SP the same way. I sent a pointer to my former colleague.
>Thanks a lot Sergey. This new version now take less than 4% of the time my previous version took!
>
>>You can use idea from GdiPlusX project on VFPx. VFP wrapper function for particular DLL function will be called only once. After that DECLAREd DLL function will take precedence.
If it's not broken, fix it until it is.
My Blog