|
Always appears as a red cross.
I tried it with polygon.dll, but it still didn't work.
1, inf file content:
; Sample INF file for POLYGON.DLL
[version]
; version signature (same for both NT and Win95) do not remove
signature = "$ CHICAGO $"
AdvancedINF = 2.0
[Add.Code]
polygon.dll = polygon.dll
atl.dll = atl.dll
; needed DLL
[atl.dll]
file-win32-x86 = thiscab
FileVersion = 2,00,0,7024
DestDir = 11
RegisterServer = yes
[polygon.dll]
file-win32-x86 = thiscab
clsid = {4CBBC676-507F-11D0-B98B-000000000000}
FileVersion = 1,0,0,1
RegisterServer = yes
; end of INF file
2. Use makecert.exe, signcode.exe to sign polygon.dll.
3. Use iexpress.exe to package atl.dll, polygon.dll, and inf into a cab.
4. Web page related code:
<OBJECT
CLASSID = "CLSID: 4CBBC676-507F-11D0-B98B-000000000000"
CODEBASE = "polygon.cab # version = 1,0,0,1" width = "195" height = "125" ID = "PolyCtl">
<embed width = "195" height = "125"> </ embed>
</ OBJECT>
5, ie's security level has been adjusted to the lowest.
I don't know what the problem is.
Hope you guys can mention it. |
|