其中还有两个窗口FILETIME字段(8个字节)。只要我将这些字段定义为Int64,所有这些字段都能完美地工作。但我想把它们编成DateTime。“[MarshalAs(UnmanagedType.CustomMarshalerthrow new NotImplementedException();
public object MarshalNative
我将一个字节转换为一个uint8。我现在想把这个数字传递给一个只接受int64的函数,所以我需要先转换它。int64 i_number = int64(u_number);
这给出了一个错误TypeError: Explicit type conversion not allowed from "uint8" to "int64".。注意,隐式转换也不工作int64</em