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>

2018년 3월 7일 수요일

compact framework to .net framework project

## delete on compact framework project file
ProjectTypeGuids
ProjectTypeGuids
PlatformFamilyName
PlatformID
OSVersion
DeployDirSuffix
NativePlatformName
NoStdLib
NoConfig
$(PlatformFamilyName)
RequiredTargetFramework

## replace on compact framework project file
$(MSBuildBinPath)\Microsoft.CompactFramework.CSharp.targets
to
$(MSBuildToolsPath)\Microsoft.CSharp.targets

## rebuild for .net framework
...

2018년 2월 1일 목요일

Install Visual Studio 6.0 with Windows 10


  1. Visual Studio 6.0 Enterprise - Custom
  2. Data Acess check box is not selected
  3. Enterprise Tools > Change Option
  4. Visual Studio 6.0 Enterprise - Enterprise Tools > Options
  5. Visual Studio Analyzer check box is not selected