Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObjectEx
Message
 
 
À
31/07/2012 14:01:44
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Divers
Thread ID:
01549569
Message ID:
01549571
Vues:
61
>I have a dll en com+, in my development pc
>
>From a small prg I try
>
>
>
>SET STEP ON
>
>SET CENTURY ON
>SET CENTURY TO 20 ROLLOVER 30
>
>obj = CREATEOBJECTEX( {181848BA-43E1-464A-A93C-53C3C9CA6999}, "" )
>
>a=1
>
>
>
>and this is the error message I get
>
>Ambiguous date/datetime constant. Use the format:
>{yyyy-mm-dd[,][hh[:mm[:ss]][a|p]]}
>
>What should I do to instantiate the object?

Do you have any code in the Init setting date? If so, are you using the format like 'mm/dd/yyyy' or something similar? The error message seems to suggest to use universal format.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform