What is the purpose of #pragma aux and how should I use it?

前端 未结 2 1608
情深已故
情深已故 2021-01-29 07:09

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 do

相关标签:
2条回答
  • 2021-01-29 08:00

    #pragma implementations are specific for your actual toolchain.

    Looking up #pragma aux indicates that seems to be a specific Watcom C/C++ Compiler specific problem.

    0 讨论(0)
  • 2021-01-29 08:10

    These are auxiliary pragmas and it is specific feature for Watcom compiler. From below detailed explanation:

    http://users.pja.edu.pl/~jms/qnx/help/watcom/compiler-tools/pragma32.html#AuxiliaryPragmas

    Auxiliary pragmas are used to describe attributes that affect code generation. Initially, the compiler defines a default set of attributes.

    so to convert it to Visual Studio, you would have to find equivalent pragmas/compiler features in VS.

    0 讨论(0)
提交回复
热议问题