Advantage 扩展过程 - 创建和安装

发布于 2024-08-26 23:35:56 字数 224 浏览 2 评论 0 原文

我尝试为我的优势数据库创建一个 AEP。我在 VS2008 上创建了一个 AEP 项目,并且获得了 dll。我将 de .dll 复制到我的数据字典所在的文件夹中。我尝试使用 regasm 注册我的 dll,但总是收到警告,要求提供强名称,但我尝试了很多方法,但再次出现此错误。所以我尝试安装 AEP,但我没有所需的 ProgId。

有人可以帮助我创建和安装 AEP 吗?

谢谢

朱利安

i try to create an AEP for my advantage Database. I create a AEP project on VS2008 and i,ve got the dll. I copy de .dll to the folder where is my datadictionnary. I tried to register my dll with regasm but i've always got the warning to give strong name, but i tried a lot of thing and i got this error again. So i tried to install the AEP but i haven't the ProgId required.

Someone can help me to create and install an AEP?

Thanks

Julien

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

韶华倾负 2024-09-02 23:35:56

如果您正在构建和测试 AEP,您应该能够忽略有关强名称的警告。一旦您进入部署 AEP 的阶段,那么最好给它一个 强名称

如果您还没有看过,Jensen 和 Anderson 的书提供了有关 创建 AEP

编辑 构建 AEP 后,您需要将其添加到数据字典中才能调用它。数据字典存储有关过程的元数据(过程名称、参数信息、DLL 名称等)。然后,当您调用它时(例如,执行过程 myproc('abc', 1, 2, 3);),Advantage 可以从字典中获取信息来调用它。我现在没有所有东西来完成这些步骤(Win7 升级在我的笔记本电脑上出现了问题,让我重新开始)。但“安装”AEP 的最简单方法是右键单击字典中的存储过程节点(Advantage Data Architect 的左窗格)。可以选择创建新过程。 本书中的信息可能帮助澄清这些步骤。

If you are in the process of building and testing the AEP, you should be able to ignore the warning about the strong name. Once you are to the stage of deploying the AEP, then it is probably a good idea to give it a strong name.

If you have not seen it, Jensen and Anderson's book has good information about creating an AEP.

Edit After you have built the AEP, you need to add it to the data dictionary in order to be able to call it. The data dictionary stores meta data about the procedure (procedure name, parameter information, DLL name, etc.). Then when you call it (e.g., execute procedure myproc('abc', 1, 2, 3);) Advantage can get the information from the dictionary to invoke it. I don't have everything with me right now to go through the steps (Win7 upgrade went awry on my laptop and left me starting over). But the simplest way to "install" the AEP is to right click on the Stored Procedure node in the dictionary (left pane in Advantage Data Architect). There is an option to create a new procedure. This information from the book might help clarify those steps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文