Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing system time
Message
De
23/02/2006 08:29:14
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/02/2006 05:50:37
Viman Nagar
Zensar Technologies
Pune, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows Server 2003
Database:
Visual FoxPro
Divers
Thread ID:
01098389
Message ID:
01098434
Vues:
11
>Hi,
>
>I have developed a program which uses the Win32API call (GetSystemTime()) to get the system time and UTC Time. This works fine on all the operationg systems except Win 2003. An error message “OLE error code 0x80041010 Unknown COM status code” is thrown.
>
>
>Any idea why it happens so and if so any solution to it??
>
>Thanks,
>Ruchi

Windows API doesn't generate OLE errors even if there were an error. For GetSystemTime sample check solution.app for "Use API functions that require a STRUCT".
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform