Skip to content

ah-shellext/Taskbar_CPUMemExt

Repository files navigation

Taskbar_CPUMemExt

  • My personal tool to monitor CPU and Memory Usage

Environment

  • .NET Core cli 2.2.401
  • .NET Framework 4.8
  • VS Code
  • Windows 10 Version 1803

Path

  • Program Files\Microsoft SDKs\Windows\vx.xA\bin\NETFX x.x.x Tools -> sn.exe / ildasm.exe
  • Windows\Microsoft.NET\Framework64\vx.x.x -> ilasm.exe / regasm.exe

Depedences

# Add depedence
dotnet add package SharpShell
dotnet add package System.Windows.Forms
dotnet add package System.Drawing.Common
<PropertyGroup>
    <TargetFramework>net48</TargetFramework>
</PropertyGroup>

Build

# Do this in cmd !!!

# Build dll
rm bin/ obj/ -rf
dotnet publish -c Release

# Generate Key
cd ./bin/Release/netstandard2.0/
sn -k key.snk # write strong key pair

# ReCompile
ildasm Taskbar_CPUMemExt.dll /OUTPUT=CpuMemExt.il
ilasm CpuMemExt.il /DLL /OUTPUT=CpuMemExt.dll /KEY=key.snk # All key to dll

# Backup dll
cp ./publish/SharpShell.dll ../../../build/SharpShell.dll 
cp ./CpuMemExt.dll ../../../build/CpuMemExt.dll 
cd ../../..

# Register
regasm /codebase ./build/CpuMemExt.dll

# Restart explorer.exe

UnRegister

regasm /u ./build/CpuMemExt.dll

# Restart explorer.exe

Problem

  • StartIsBack tool priority error

Screenshot

No_Theme_Screenshot Has_Theme_Screenshot

Remark

Ensure you register with the correct bitness

If you are on Windows 32 bit, make sure you register the server with an > x86 version of regasm, e.g:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm 

If you are on Windows 64 bit, make sure you register the server with an > x64 version of regasm, e.g:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm

Reference

About

Personal taskbar ext tool to monitor CPU & Memory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published