Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObjectEx
Message
 
 
To
31/07/2012 14:01:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01549569
Message ID:
01549571
Views:
60
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform