积极答复者
GetLocalTime 偶尔会拿回空值

问题
答案
-
您好
您能提供关于这个问题更多的信息么,比如说操作系统版本,Visual Studio的版本
另外GetSystemTime 这个函数也会发生这样的问题么?
致礼
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已建议为答案 VisualElevenModerator 2011年3月28日 1:37
- 已标记为答案 SplendourGModerator 2011年3月29日 8:18
-
有上下文环境吗?就这段代码没有问题的。
Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.- 已建议为答案 VisualElevenModerator 2011年3月28日 1:37
- 已标记为答案 SplendourGModerator 2011年3月29日 8:18
-
100%是你其他代码内存越界引起的。你可以拿出有问题的部分单独放到一个程序里,然后慢慢删除代码来定位问题。
0xBAADF00D- 已建议为答案 VisualElevenModerator 2011年3月28日 1:37
- 已标记为答案 SplendourGModerator 2011年3月29日 8:18
全部回复
-
您好
您能提供关于这个问题更多的信息么,比如说操作系统版本,Visual Studio的版本
另外GetSystemTime 这个函数也会发生这样的问题么?
致礼
Jesse Jiang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已建议为答案 VisualElevenModerator 2011年3月28日 1:37
- 已标记为答案 SplendourGModerator 2011年3月29日 8:18
-
有上下文环境吗?就这段代码没有问题的。
Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.- 已建议为答案 VisualElevenModerator 2011年3月28日 1:37
- 已标记为答案 SplendourGModerator 2011年3月29日 8:18
-
100%是你其他代码内存越界引起的。你可以拿出有问题的部分单独放到一个程序里,然后慢慢删除代码来定位问题。
0xBAADF00D- 已建议为答案 VisualElevenModerator 2011年3月28日 1:37
- 已标记为答案 SplendourGModerator 2011年3月29日 8:18