Accessing resources in registered .NET DLL via res protocol
问题 I have a .NET DLL that I register with regasm.exe as a Browser Helper Object. I embedded several Win32 resources in the DLL using .res files and /win32 switch to csc.exe. image.png HTML "image.png" I am able to access the resources using the res protocol as long as I include the absolute path of the DLL . res://C:\Path\To\My\Dll\Assembly.dll/image.png This is rather unfortunate. I would much rather just reference the assembly name as I have seen in many other examples: res://Assembly.dll