| 
 | 
 
一直显示为红叉叉。 
又特意用polygon.dll试了,还是不行。 
1、inf文件内容: 
; 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、用makecert.exe,signcode.exe对polygon.dll做了签名。 
3、用iexpress.exe把atl.dll,polygon.dll和inf这三个文件打包成cab, 
4、网页相关代码: 
<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的安全等级已经调为最低。 
不知道是什么问题。 
希望各位提点一下。 |   
 
 
 
 |