>Aleksey,
>
>>...I believe the proper test would be to run exactly the same .PRG through the provider from C# (connect to a folder, and execute the .PRG file as a procedure using its name without extension).
>
>Interesting. I didn't realize you could run a PRG from the provider.
Hi David,
Yes, you can:
LOCAL oConn as ADODB.Connection
TEXT TO cPRG NOSHOW
RETURN "Here is the result"
ENDTEXT
STRTOFILE(cPRG,"c:\testPRG.prg")
oConn=CREATEOBJECT("ADODB.Connection")
oConn.Open("Provider=VFPOLEDB.1;Data Source=c:\")
oRS=oConn.Execute("testPRG",,4)
?oRS.Fields(0).Value
DELETE FILE c:\testPRG.prg
RETURN
Thanks,
Aleksey.