Quantcast
Channel: A time issue
Viewing all articles
Browse latest Browse all 8

A time issue

$
0
0
Hi all:

I wanna call _localtime_s of Win32API in my managed code, How to do that? Please refer to my code with "DllNotFoundException" exception:

[DllImport("MSVCR90D.Dll")]
public static extern Int32 localtime_s(ref TM tm, IntPtr time64);

Exception:
Additional information: Unable to load DLL 'MSVCR90D.DLL': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I know i am leading a wrong dll file, could anyone tell me the correct file name that export localtime_s of win32 api?
Thanks,
Simon

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images