收录查询

指定LINKER连接到WINDOWS操作系统OUTPUT出来的哪个函数入口点

UMENTRYABS

Use the UMENTRYABS macro to specify an absolute entry point.

The entry point in your source code does not, in general, match the absolute entry point in your binary. By default, the entry points and absolute entry points used by the Build utility depend on the type of product being built (specified by the UMTYPE macro) and on whether ASCII or Unicode is being used as the character set (specified by the USE_MFCUNICODE macro).

The following table lists the standard values of the entry points and the absolute entry points:

UMTYPE Entry Point Absolute Entry Point
windows
(ASCII)
winmain WinMainCRTStartup
windows
(Unicode)
wwinmain wWinMainCRTStartup
console
(ASCII)
main mainCRTStartup
console
(Unicode)
wmain wmainCRTStartup
nt   NtProcessStartup
ntss   NtProcessStartup
os2   NtProcessStartup
posix   __PosixProcessStartup

Use the UMENTRYABS macro to override the absolute entry point. For example, you might want the absolute entry point to be main rather than mainCRTStartup. In this case, you would use the following setting:

UMENTRYABS=main 
posted @ 2005-08-19 16:26  ->  阅读(349)  评论(0)    收藏  举报