Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date translated to datetime with COM
Message
De
29/09/2002 07:57:45
 
 
À
29/09/2002 00:20:17
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00705631
Message ID:
00705654
Vues:
10
Claudio,

The reply by Mr. Brown suggests that the VFP documentation, at least as written under the "COM Interfaces" entry (which actually displays the "DEFINE CLASS command", needs revision, specifically in the table under the "CParamName AS Type" write-up about half way down the full entry.

Do you agree? Do you know of other places in the documentation that fail to communicate this (or, as is the case here, MIS-communicates it)?
cheers



>>So it isn't the COM spec or standard that is forcing this? So potentially we could ask the FoxTeam to change this?
>
>oops, I think I wasn´t clear. :)
>This issue is outside the domains of the FoxTeam. Look, this came from Randy:
>
>"The only date type supported by COM is VT_DATE. Therefore, in VFP, we have to map our date and datetime types to VT_DATE when creating a COM server. So, this is really a COM issue."
>
>so, for my understanding, if you´re expecting a "date" parameter in your COM server, you´ll need to manually remove the "time" part. And, if you´re expecting a "date" return from a method, you´ll also need to treat that manually. :(
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform