none
WDK下怎样将.c文件编译为DLL? RRS feed

答案

    1. TARGETNAME=123Lib
    2. TARGETPATH=obj
    3. TARGETTYPE=DYNLINK
    4. UMTYPE=console
    5. DLLENTRY=DllMain
    6. USE_NTDLL=1
    7. #USE_MSVCRT=1
    8. MSC_OPTIMIZATION=/Oxs
    9. C_DEFINES=$(C_DEFINES)
    10. INCLUDES=$(DDK_INC_PATH);$(CRT_INC_PATH);$(SDK_INC_PATH)
    11. TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
    12.            $(SDK_LIB_PATH)\advapi32.lib  
    13. SOURCES = 123Lib.c

    Visual C++ enthusiast, like network programming and driver development. At present is being engaged in the WinCE/Windows Mobile platform embedded development.
    2011年3月30日 0:51
    版主