|
Compiling Compiling Code C Implementation C++ Implementation Language Extensions Mixing Languages Assembly Language Inline Assembler Optimizing Code Numerics Programming Regular Expressions Acrtused Pragmas Precompiled Headers Predefined Macros Warning Messages Error Messages Runtime Messages Linking Optlink Switches Module Definition Files Operation and Design Error Messages Win32 Programming Win32 Programming DOS and Win16 Programming Memory Models 16 Bit Pointer Types and Type Modifiers Handle Pointers DOS DOS 32 (DOSX) Win16 Win16 DLLs Win16 Prolog/Epilog C/C++ Extensions Contract Programming __debug statement __debug declaration Dynamic Profiling Embedding C in HTML Tools BCC CHMOD CL COFF2OMF COFFIMPLIB DMC DIFF DIFFDIR DUMP DUMPOBJ DUMPEXE EXE2BIN FLPYIMG GREP HC IMPLIB LIB LIBUNRES MAKE MAKEDEP ME OBJ2ASM PATCHOBJ RC RCC SC SHELL SMAKE TOUCH UNMANGLE WHEREIS Porting to DMC++ Switching to DMC++ from Microsoft from Borland Porting Guide |
Acrtused__acrtused is an external reference generated by the compiler to bring in the startup code appropriate to a console application, a Windows application, a DLL, or a WINC application. Different __acrtused names are referenced to bring in different startup code.Programmers occasionally run into various problems with _acrtused names being multiply defined or being undefined. Essentially, _acrtused is an external reference generated by the compiler in order to bring in the startup code appropriate to a console app, a windows app, a dll app, etc. Different acrtused names are referenced to bring in different startup code. The variations are: __acrtused If WinMain() -or- If 16 or 32 bit DOS compile and main() __acrtused_winc If 16 bit Windows compile and main() __acrtused_dll If 16 bit Windows compile and LibMain() -or- If -mn and LibMain() -or- If -mn and DllMain() __acrtused_con If -mn and main() __wacrtused_con If -mn and wmain() __wacrtused If -mn and wWinMain()Notes:
Troubleshooting problems with startup code at link time
|