编译错误,在DLL中加载错误

编程入门 行业动态 更新时间:2024-10-28 00:23:22
本文介绍了编译错误,在DLL中加载错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨 在Windows 7上,在ms-access2010应用程序的编译时,显示一条错误消息,指出在dll中加载错误,这是他们检查未加载dll的一种方法.我检查了所有参考文献,没有一个缺失. 我放置了下面的代码,告诉所有被引用的是哪些

Hi On Windows 7,Upon Compilation of ms-access2010 application , have a error message stating Error Loading in dll , is their a way to check a dll which is not getting loaded . I have checked all the references none of them are missing. I have put the following code which tells which are all the references being made

On Error Goto ErrorTrap Dim Strlist as String Dim ref as Access.Reference For Each ref In Access.References strList = strlist & Ref.Name &"....."& ref.FullPath &" "& vbCrLF Next ref VBA.MsgBox Strlist ErrorTrap: If VBA.Err.Number<>0 Then Select Case VBA.Err.Number Case -2147319779 StrList = strlist & Ref.Name &"....."&"*** MISSING****" & " " & VbCrLF Resume Next End Select VBA.MsgBox Vba.Err.Number &" "& VBA.Err.Description End If

运行上述代码后,显示消息框,缺少MSoSOAPLib30 然后我下载了MSSOAP30.dll,并将其放在c:\ Programfiles \ Common Files \ Microsoft Shared \ Office14位置,并使用regsvr32对其进行了归类,这也引发了一个错误,例如缺少与该文件有关的某些二进制组件. /> 我可以知道它们是否是32位MSSOAP30.dll和64位MSSOAP30.dll之间的任何区别吗,并且Xp上使用的MSSOAP30.dll在Windows7上存在可映射性问题.请帮助我解决此问题 谢谢

Upon running the above code , the message box was displayed with MSoSOAPLib30 missing Then I downloaded MSSOAP30.dll and placed it on the location c:\Programfiles\Common Files\Microsoft Shared\Office14 and regestiering it with regsvr32 , this to also throwed me an error like some binary components pertaining to this file is missing. Is their any difference between 32-bit MSSOAP30.dll and 64-bit MSSOAP30.dll can i know them and is MSSOAP30.dll used on Xp having a comapatiblity problem on Windows7. Please help me resolve this problem Thanks

推荐答案

如果您是64位办公室并尝试加载32位dll,则可能会发生这种情况 或您的dll中可能有问题 this may happened If you are 64 bit office and you try to load 32 bit dll or may a problem in your dll

更多推荐

编译错误,在DLL中加载错误

本文发布于:2023-11-04 10:05:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1557632.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   加载   DLL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!