[請益] 程式網頁中marshal的意思
各位大大好,工作非開發,想多自學點程式
幾年前看過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://www.ptt.cc/bbs/MIS/M.1659194180.A.1BC.html
MIS 近期熱門文章
PTT職涯區 即時熱門文章
16
74