問題タブ [gettickcount]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c++ - API 関数への C++ 呼び出し::GetTickCount() ジャンプ ~18 日
いくつかの Windows コンピューターで、2 つのコンピューターを相互に呼び出して ::GetTickCount() を呼び出すと、1610619236 ミリ秒 (約 18 日) の差が返されることがわかりました。これは、og int/unsigned int の不一致のラップアラウンドによるものではありません。Visual C++ 2015/2017 を使用しています。
他の誰かがこの動作を見たことがありますか? 何がこのような動作を引き起こす可能性があるかについて、誰かが考えを持っていますか?
よろしくジョン
バグを示すコード サンプル: