I use c # vs2017 created a activex DLL project (not any CPU), a 64 - bit compiled through, running on IE browser HTML pages, but in Internet explorer F12 debugging HTML code prompt did not load the activex, 64, the operating system is Win10 IE11. Thank you,
The code is as follows:
Cs
.using System;
Using System. Collections. Generic;
Using System. Linq;
Using System. The Text;
Using System. The Runtime. InteropServices;
The namespace ClassLibrary1
{
[ProgId (" DemoClassLibrary1. The HelloWorld ")]
[ClassInterface (ClassInterfaceType. AutoDual)]
[Guid (" a9 731632-05 b8e f4-4 - A34E - BCA8168843B9 ")]
[ComVisible (true)]
Public class Class1
{
[ComVisible (true)]
Public String SayHello ()
{
Return "helloworld";
}
}
}
The csproj
<? The XML version="1.0" encoding="utf-8"?>
The HTML
DemoCSharpActiveX webpage
<body>