我写了一个activeX,打成cab包以后,放在html的codebase里面,从另一台机器的IE里面打开后,cab己经下载至ie的临时目录下了,但是activeX没有自动注册,会是什么原因
解决方案 »
- MFC命令行参数问题,拿到了参数,不能使用...
- 在WM_MOUSEMOVE里处理判断鼠标是否在某一按钮的矩形框内的话、CPU占用就很高、怎么降低占用
- 升星星,散分分。。。[9]
- vc调用dll中的结构体
- 有没有支持命令行的刻录软件
- 如何更改复选框和编辑控制的背景颜色(sdk)
- 我已经安装了Deamon软件,如何使用?
- 高手帮帮忙,在Win2K中进程不被任务管理器“杀死”,该怎样做?
- HTML和HTM有什么区别?
- 原来vc6编的程序,转到vc2008sp1后,怎样给程序添加 vc2008的应用程序外观功能(vc2008新建的有此功能)
- 求助高手,关于对话框内显示图像的问题。
- 为什么我的多媒体定时器创建几个后就不能创建了,定时器的数量是否有限制啊?VC写的定时器
cab只会放在临时目录,安装后的目录2000以上的系统是在%SystemRoot%\\Downloaded program files目录下
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
ActiveXChat.ocx=ActiveXChat.ocx mfc42.dll=mfc42.dll
msvcrt.dll=msvcrt.dll
olepro32.dll=olepro32.dll [ActiveXChat.ocx]
file-win32-x86=thiscab
clsid={6D1235E2-BA35-420B-8FB9-E39C81E67D0B}
RegisterServer=yes
; dependent DLLs
[msvcrt.dll]
; This is an example of conditional hook. The hook only gets processed
; if msvcrt.dll of the specified version is absent on client machine.
FileVersion=4,20,0,6164
hook=mfc42installer
[mfc42.dll]
FileVersion=4,2,0,6256
hook=mfc42installer
[olepro32.dll]
FileVersion=4,2,0,6068
hook=mfc42installer
[mfc42installer]
file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab
; If dependent DLLs are packaged directly into the above cabinet file
; along with an .inf file, specify that .inf file to run as follows:
;InfFile=mfc42.inf
; The mfc42.cab file actually contains a self extracting executable.
; In this case we specify a run= command.
run=%EXTRACT_DIR%\mfc42.exe