SetTextJustification()方法无法证明Windows Server 2016上的文本 [英] SetTextJustification() method not justifying text on Windows Server 2016
问题描述
在Windows Server 2016上运行发行版VC ++代码时,文本没有合理性。
我使用的是以下方法
SetTextJustification(pDC,ExtraLen,ss-> nSpaces)
当我在Windows 10机器上运行调试版代码时,文本是否合理。
有人可以就此问题提出建议吗?
谢谢,
Rakesh
文字是在Windows Server 2016上运行发行版VC ++代码时,没有理由这样做。
当我在Windows 10计算机上运行调试版本的代码时,文本是正确的。
暗示你的代码中有一个错误 - 可能是一些未初始化的变量。您的调试版本可能会以
的机会运行。
您可以尝试调试发布版本以确定问题。
戴夫
Text is not getting justified when release version VC++ code is running on Windows Server 2016.
I am using below method
SetTextJustification( pDC, ExtraLen , ss->nSpaces )
Text is justified properly when I run debug version of code on Windows 10 machine.
Can someone please suggest regarding this issue?
Thanks,
Rakesh
Text is not getting justified when release version VC++ code is running on Windows Server 2016.
Text is justified properly when I run debug version of code on Windows 10 machine.The implication is that you have a bug in your code - possibly some uninitialised variable. Your debug version may be working by
chance.You could try debugging your release version to identify the issue.
Dave
这篇关于SetTextJustification()方法无法证明Windows Server 2016上的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!