2018년 8월 19일 일요일

Is this DLL managed or unmanaged?

Visual Studio Command Prompt

change dir ( dll )

D:\Temp\Debug>dumpbin.exe /dependents ArcoLib.dll
Microsoft (R) COFF/PE Dumper Version 12.00.40629.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file ArcoLib.dll

File Type: DLL

  Image has the following dependencies:

    avcodec-58.dll
    avdevice-58.dll
    avformat-58.dll
    avutil-56.dll
    swscale-5.dll
    KERNEL32.dll
    USER32.dll
    GDI32.dll
    ole32.dll
    MSVCP120.dll
    MSVCR120.dll
    gdiplus.dll
    mscoree.dll

  Summary

        7000 .data
       70000 .rdata
        5000 .reloc
        3000 .rsrc
       3E000 .text
        1000 .tls

D:\Temp\Debug>


D:\Temp\Debug>corflags StreamPlayer.dll
Microsoft (R) .NET Framework CorFlags Conversion Tool.  Version  4.0.30319.33440
Copyright (c) Microsoft Corporation.  All rights reserved.

corflags : error CF008 : The specified file does not have a valid managed header

D:\Temp\Debug>corflags ArcoLib.dll
Microsoft (R) .NET Framework CorFlags Conversion Tool.  Version  4.0.30319.33440
Copyright (c) Microsoft Corporation.  All rights reserved.

Version   : v4.0.30319
CLR Header: 2.5
PE        : PE32
CorFlags  : 0x10
ILONLY    : 0
32BITREQ  : 0
32BITPREF : 0
Signed    : 0

D:\Temp\Debug>

댓글 없음: