Hi, Evan.
>Despite strongly typing my methods and parameters in my VFP COM object as Date, dates passed to and returned from are converted to DateTime. Is there anyway to prevent or correct this?
The VFP Type Library maps all Date to Datetime... that´s kinda silly, because even if you do something like this:
Define Class Test as Session Olepublic
Procedure Test(TestDate as Date) as Date
Return TToD(TestDate)
EndProc
EndDefine
You´ll see that the return of this method will be a DateTime...
Some months ago we had a big trouble with this on the UT´s web service... basically, people from different timezones than Montreal just got weird results when trying to get "messages for a given date"...
Claudio Lassala