### asm_fixup_dllimports

Instructs the compiler to correct inline assembly that incorrectly accesses global variables from a DLL.

##### Syntax

#pragma asm_fixup_dllimports on | off | reset

##### Targets

Intel x86

##### Remarks

In the Win32 DLL model, variables must be addressed indirectly through the symbol __imp_<symbol> and replaced with the normal link-time symbol _<symbol>. The compiler detects references to _<symbol> and replaces them with the correct sequence of code.

NOTE This transformation may not always be possible and an “illegal operand” error is reported when the compiler can’t make the substitution.

This pragma does not correspond to any panel setting. To check this setting, use the __option (asm_fixup_dllimports). The default setting is off.