mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 917|reply: 6
打印 prevThread nextThread

C#调用ManagedLayer.dll报错

[copyURL]

1

主题

4

帖子

21

积分

newBie

Rank: 1

积分
21
jumpTo
owner
poston 2021-10-18 09:49 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
本机代码环境是可以的,但是放到服务器上就不行,报如下错误:
System.DllNotFoundException: 无法加载 DLL“ManagedLayer.dll”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。

运行环境已装:
VC_x64Runtime.exe
vcredist2015x64.exe

.net环境4.6,.net附加环境3.5
reply

使用道具 report

3

主题

341

帖子

1783

积分

vipMem

Rank: 6Rank: 6

积分
1783
sofa
poston 2021-10-18 09:52 | authorOnly
这个client的代码应该不能在WINDOWS SERVER上运行吧。
reply agree Against

使用道具 report

1

主题

580

帖子

2001

积分

vipMem

Rank: 6Rank: 6

积分
2001
bench
poston 2021-10-18 09:54 | authorOnly
你好,编译的Managedlayer.dll是64位release版本吗
https://gitee.com/besovideo/bvcusdk

如果发布64位版本,注意拷贝lib_x64目录下的dll。
reply agree Against

使用道具 report

1

主题

4

帖子

21

积分

newBie

Rank: 1

积分
21
ground
 Owner| poston 2021-10-18 10:25 | authorOnly
程序就是32位的,Managedlayer.dll也是32位的
reply agree Against

使用道具 report

1

主题

580

帖子

2001

积分

vipMem

Rank: 6Rank: 6

积分
2001
5#
poston 2021-10-18 11:35 | authorOnly
ShiYan post on2021-10-18 10:25
程序就是32位的,Managedlayer.dll也是32位的

我看安装的运行环境是64位的
reply agree Against

使用道具 report

1

主题

4

帖子

21

积分

newBie

Rank: 1

积分
21
6#
 Owner| poston 2021-10-18 14:29 | authorOnly
你怎么看的,我程序编译的是32位
reply agree Against

使用道具 report

1

主题

4

帖子

21

积分

newBie

Rank: 1

积分
21
7#
 Owner| poston 2021-10-18 14:32 | authorOnly
我在同事的机器上也运行了程序,部分同事的电脑可以,部分电脑不可以
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-7 08:59 , Processed in 0.059573 second(s), 19 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList