>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