[請益] 程式網頁中marshal的意思

看板MIS作者 (乞丐下大願panhandler)時間1年前 (2022/07/30 23:16), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
各位大大好,工作非開發,想多自學點程式 幾年前看過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
文章代碼(AID): #1YvKj46y (MIS)