嗨 在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中加载错误
发布评论