问题描述
在Windows Server 2016上运行发行版VC ++代码时,文本没有合理性。
我使用的是以下方法
SetTextJustification(pDC,ExtraLen,ss-> nSpaces)
当我在Windows 10机器上运行调试版代码时,文本是否合理。
有人可以就此问题提出建议吗?
谢谢,
Rakesh
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
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上的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!