如何打印DWORD64 [英] How to print DWORD64

查看:207
本文介绍了如何打印DWORD64的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用GetDiskFreeSpaceEx获取磁盘上的可用空间。


我的磁盘大小超过4GB 。我已经包含了exFat文件系统。因此,当我使用调试断点检查该变量时,它显示0x1d83C4000。对于打印,我使用了带有%I64d的RETAILMSG。但它只打印最低的32位值。


如何在WinCE 6.0中打印十进制的64位值?


问候,


GSR

解决方案

您可能需要先使用wsprintf转换为字符串,然后使用输出字符串RETAILMSG。

Hi,

I am using GetDiskFreeSpaceEx to get the avaialable space on the Disk.

My Disk size is more than 4GB. I have included exFat file system. So when I checked that variable using debug break point it shows 0x1d83C4000. For printing I have used RETAILMSG with %I64d. But it prints only the lowest 32-bit value.

How to print the 64-bit value in decimal in WinCE 6.0?

Regards,

GSR

解决方案

You may need to use wsprintf to first convert to a string, then output the string using RETAILMSG.


这篇关于如何打印DWORD64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆