问题描述
我正在尝试延迟加载库,并使用GetProcAddress从库中获取一个函数来重复使用。我正在处理的项目有在其他情况下如何做的例子,在描述函数的typedef的头文件中,有一个#pragma aux行。这是做什么的?这总是必要的吗?
I'm attempting to delayload a library and use GetProcAddress to get a function from the library to use repeatedly. The project I'm working on has examples of how this being done in other cases, and in the header file that describes typedefs of the function, there is a #pragma aux line. What does this do? Is this always necessary?
编辑:我使用vc11编译器
I'm using the vc11 compiler
推荐答案
这些是辅助编译指示,它是Watcom编译器的特定功能。从下面的详细说明:
These are auxiliary pragmas and it is specific feature for Watcom compiler. From below detailed explanation:
因此要将其转换为Visual Studio,您必须在VS中找到等效的pragmas /编译器功能。
so to convert it to Visual Studio, you would have to find equivalent pragmas/compiler features in VS.
这篇关于#pragma aux的目的是什么,我应该如何使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!