Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing system time
Message
From
23/02/2006 08:29:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/02/2006 05:50:37
Viman Nagar
Zensar Technologies
Pune, India
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows Server 2003
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01098389
Message ID:
01098434
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform