There is a native method from dll written in c which takes a parameter of type time_t.
Is it possible to use C# uint or ulong for this parameter?
There is a native method from dll written in c which takes a parameter
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on how
time_twas defined in the Standard C header files the DLL was compiled against.If
time_tis 64-bit, the C# equivalent islong.If
time_tis 32-bit, then it has the Year 2038 bug and you should ask whoever wrote the DLL for a non-buggy version.