ocx

安防监控流媒体服务器对接宇视摄像机配置OCX插件安装时出现Failed to register ocx, error code 14001错误问题分析

回眸只為那壹抹淺笑 提交于 2019-12-09 15:10:06
背景需求 随着雪亮工程、明厨亮灶、手机看店、智慧幼儿园监控等行业开始将传统的安防摄像头进行互联网、微信直播,我们知道摄像头直播的春天了。将安防摄像头或NVR上的视频流转成互联网直播常用的RTMP、HTTP-FLV、HLS等流格式再分发给用户端进行直播,不管身处何地都可以通过移动通讯设备查看监控设备,这些功能是EasyNVR互联网直播系统研发和设计的初衷和基础功能。将EasyNVR接入海康、大华等摄像机进行配置,配置成功后便可观看直播。 宇视摄像机/NVR OCX插件插件安装报错 在使用EasyNVR接入海康、宇视的摄像机进行景观直播的项目时,我们发现海康的设备后台管理页面,不需要装插件也能调整参数,但是宇视的后台管理不装插件就无法进入,因此我们又遇到了问题:插件安装不成功,如图: 分析问题 从日志系统来看,报错原因是imos_mv_sdk.dll缺少了Microsoft.VC90.CRT这个程序集,系统不带这个程序集,而安装程序又不自带进来,就导致了ocx注册出错。 解决问题 知道了问题所在之后,就着手解决问题了。我们从本地的开发环境中,找到VC90 CRT一整套的DLL,直接copy到宇视OCX安装的路径: 如此操作之后,再进行宇视的插件安装,就能够安装成功了。安装成功之后再进行EasyNVR的配置,便能够正常观看直播了。 来源: https://www.cnblogs.com

Can not debug an ActiveX inside a VB6 project with several components inside

亡梦爱人 提交于 2019-12-08 04:27:28
I have to debug a big application done in VB6. The application is comprised of a main EXE, some ActiveX projects and other ActiveX control projects. The problem I'm facing is that I cannot hit breakpoints inside some ActiveX projects. Looks like the application is using the OCX outside the debugger because the application runs but the breakpoints are simply not there. The main EXE has a reference set to the OCX generated by that project. If I remove that reference I get a compilation error about unknown classes. Any help will be great. Make sure your ActiveX project is using binary

Can not debug an ActiveX inside a VB6 project with several components inside

﹥>﹥吖頭↗ 提交于 2019-12-08 03:56:17
问题 I have to debug a big application done in VB6. The application is comprised of a main EXE, some ActiveX projects and other ActiveX control projects. The problem I'm facing is that I cannot hit breakpoints inside some ActiveX projects. Looks like the application is using the OCX outside the debugger because the application runs but the breakpoints are simply not there. The main EXE has a reference set to the OCX generated by that project. If I remove that reference I get a compilation error

How do I deploy a utility with ocx dependency to a test machine without registering the ocx?

[亡魂溺海] 提交于 2019-12-08 01:34:35
问题 I have a test utility that depends upon an ocx file that is installed/registered on my development machine. We'd like to run this tool on a test machine without polluting the machine with any unnecessary files. Nothing should be installed except the target machine software. Running the tool on a network drive or from a stand-alone directory copied to the test machine would be ideal. But, registering the ocx on the test machine is out of the question. Placing the ocx file in the same directory

InnoSetup Script installing VC redistributables and registering VC OCX resulting in “RegSrv32 failed with exit code 0x1”

守給你的承諾、 提交于 2019-12-08 00:48:22
问题 My InnoSetup Script needs to install the VC redistributables (vcredist_x86.exe) but also registers an OCX relying on the redist package. I wasn't able to have the package installed prior to the regsrv32 call, so on a virgin system it always results in a "RegSrv32 failed with exit code 0x1" error (which I could ignore and run the setup again to correctly register the OCX). How can I make sure the redist package is installed before registering? ; Script generated by the Inno Setup Script Wizard

Register RichTx32.Ocx in Windows 7 64 bit

两盒软妹~` 提交于 2019-12-07 17:17:18
问题 I am trying to register RichTx32.Ocx for an application I am working on in Access 2010 (File Format 2003 mdb). I have been updated to Windows 7 64 bit (from Windows XP SP3 32 bit) and can't get the ActiveX OCX to register. I have put the file in the system32 folder and get the following message: "The module "RICHTX32.OCX" may not compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe" When I

Creating ActiveX control(OCX) in VB .net 2010

混江龙づ霸主 提交于 2019-12-07 16:02:09
问题 I would like to create an activeX control(OCX) in VB .net 2010 is it possible? I having a hard time determining how to make it because I only get a .dll file rather than a .ocx which can be seen in vb6. I hope you can answer my question. 回答1: Are you asking how to create an "ActiveX" control specifically or are you asking how to create controls that can be used by other CLR based applications? To create an ActiveX control, see this link which walks you through the steps to do this: Creating

Flash ocx “Class not registered” on Windows 7 x64

ぐ巨炮叔叔 提交于 2019-12-07 14:29:53
问题 I have a WPF app that uses Flash10c.ocx developed on a 32 bit machine. I didn't have to register the ocx on my dev machine, I just installed the latest flash, added a reference and started coding. When testing on a 64 bit system I get ye old "Class not registered" which I think mean I need to regsvr the ocx. Is it Ok to just copy the 32 bit ocx (I'm pretty sure its 32 bit as its located in C:\Windows\System32\Macromed on the dev system) to a 64 bit system and register it? Update: regsvr32 /i

Dynamically loading unmanaged OCX in C#

旧街凉风 提交于 2019-12-07 12:07:08
问题 I have ocx created in VC++ If it is loaded statically it works fine but when I load it dynamically from assembly it gives exception . public Assembly assembly; public Form1() { InitializeComponent(); assembly = Assembly.LoadFile(Application.StartupPath + "\\abc.ocx"); } it gives following exception The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018) 回答1: You'll have to perform a number of steps that are normally taken of automatically when you use the

InnoSetup Script installing VC redistributables and registering VC OCX resulting in “RegSrv32 failed with exit code 0x1”

﹥>﹥吖頭↗ 提交于 2019-12-06 07:42:00
My InnoSetup Script needs to install the VC redistributables (vcredist_x86.exe) but also registers an OCX relying on the redist package. I wasn't able to have the package installed prior to the regsrv32 call, so on a virgin system it always results in a "RegSrv32 failed with exit code 0x1" error (which I could ignore and run the setup again to correctly register the OCX). How can I make sure the redist package is installed before registering? ; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! [Setup] AppName=MyApp