当前的"pragma pack"以编程方式 [英] current "pragma pack" programatically
本文介绍了当前的"pragma pack"以编程方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何以编程方式获取当前的实用程序包"?
How can I get current "pragma pack" programatically?
推荐答案
您不能. #pragmas是编译器指令,由C/C ++编译器内部使用,目标代码中没有任何内容可以标识它们的使用方式.
You can''t. #pragmas are compiler directives and used internally by the C/C++ compiler, there is nothing in the object code to identify how they have been used.
检查此链接,这给出了一种方法
http://msdn.microsoft.com/en-us/library/2e70t5y1 (v = vs.80).aspx [
check this link, this give a way
http://msdn.microsoft.com/en-us/library/2e70t5y1(v=vs.80).aspx[^]
这篇关于当前的"pragma pack"以编程方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文