Scintilla .NET - 找不到库
我正在尝试让 Scintilla .NET 以我正在制作的 C# 形式工作。 我已按照自述文件中提供的说明进行操作,例如将 Scintilla 组件添加到工具箱,但是当我尝试将该组件拖动到 C# 表单时,出现以下错误: http://tinypic.com/r/152m7wx/4
我已经放置了两个包含的dll (SciLexer.dll、ScintillaNET.dll)在我的 system32 文件夹中。我似乎无法弄清楚出了什么问题。
我使用的是 VS 2008 和 Windows 7。
您知道为什么我会收到“文件未找到”错误吗?
I'm trying to get Scintilla .NET working in a C# form I'm making.
I've followed the directions provided in the readme such as adding the Scintilla component to the toolbox, but when I try to drag the component to a C# form I get this following error:
http://tinypic.com/r/152m7wx/4
I've placed the two included dlls (SciLexer.dll, ScintillaNET.dll) in my system32 folder. I can't seem to figure out what's wrong.
I'm using VS 2008, and Windows 7.
Any ideas why I'd be getting a File not found error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你的电脑是x86还是x64?如果是 x64,则需要将 dll 放在 C:\Windows\SysWOW64 中
否则,请执行以下操作:将 scilexer.dll 放在与 scintillanet.dll 相同的目录中(请注意,当您从 VS 2008 引用 scintillanet.dll 时,它会将其复制到调试目录。因此 scilexer.dll 也应该放入调试目录中。
Is your computer x86 or x64? If it's x64 you need to put the dll's in C:\Windows\SysWOW64
Otherwise do the following: put scilexer.dll in the same directory as scintillanet.dll (note that when you reference scintillanet.dll from VS 2008 it copies it to the debug directory.. so scilexer.dll should also be put in debug.
尝试使用 procmon 来“监视”它实际寻找的位置DLL 文件。
Try using procmon to "spy" on where it is actually looking for the DLL files.
我发现问题是由我用来安装 Scintilla 的东西引起的。安装不完整。
我没有具体细节,但在同一页面上还有另一个安装,您会发现第一个安装已完成。我认为这应该引导你走向正确的方向。抱歉我可以更具体。
如果你仍然卡住,让我知道,我会尝试找出我得到这些文件的确切位置,或者也许我把它们放在某个地方。
I found that the problem was caused by whatever I used to install the Scintilla stuff. The install was incomplete.
I don't have specifics, but there is another install floating around on the same page you find the first that is complete. I think that should head you in the right direction. Sorry I can be more specific.
If your still stuck, lemme know and I'll try and figure out exactly where I got the files, or maybe I have them lying around somewhere.