What are regsvr32, regasm and gacutil using for?(轉載)

What are regsvr32, regasm and gacutil using for?windows

Regasm.exe is used to create COM Callable Wrapper (CCW) around .NET assemblies. 
So to register an unmanaged DLL you can use regsvr32.exe.
Gacutil tool allows you to view and manipulate the contents of GAC( globlal assembly cache).app

 

因此簡單來講:spa

  • 若是要註冊.NET的託管程序集(managed assemblies)DLL文件到windows操做系統,就用Gacutil
  • 若是要註冊相似WIN32的非託管程序集(unmanaged assemblies)DLL文件到windows操做系統,就用regsvr32

 

原文連接操作系統

相關文章
相關標籤/搜索