作者kino818 (乞丐下大愿panhandler)
看板MIS
标题[请益] 程式网页中marshal的意思
时间Sat Jul 30 23:16:18 2022
各位大大好,工作非开发,想多自学点程式
几年前看过marshal,至今仍不懂
请各位大大帮忙解释,谢谢
https://stackoverflow.com/questions/41638504/sleep-lib-kernel32-gives-64-bit-sys
tems-error
截取一段如下,包含marshal
The dwMilliseconds parameter is a DWORD, so it will technically be 32bit on a 32
bit machine and 64bit on a 64bit machine. Because of this, it requires PtrSafe n
otation (although technically dwMilliseconds will marshal correctly because it's
ByVal... and who wants to wait that long anyway) Change the declaration to this
:
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 42.79.191.65 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/MIS/M.1659194180.A.1BC.html