需要对此 Delphi 代码进行一些解释
我有此代码,需要对这些问题进行一些解释:
尾随的“_TLB”是什么在第一个使用部分的“ShellExecHookXample”之后?
我应该如何在Delphi 7中使用这段代码并制作独立的exe文件? (我不知道放置代码和调用其方法的正确位置。因为它似乎是一个单元还是什么?)
如果可能,请为我描述代码。
提前致谢。
I have this code and need some explanation on these questions:
What is that trailing "_TLB" after "ShellExecHookXample" in first uses section?
How should I use this code in Delphi 7 and make stand-alone exe file? (I don't know what's the proper place to put codes and call its method. Since it seems to be a unit or what?)
if possible please describe the code for me.
Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
_TLB 代表类型库。看来您正在尝试实施
IShellExecuteHook .Execute
到目前为止已经找到了一些代码 在这里。不过,我猜测是因为你没有告诉我们。如果您能够花更多的精力来描述您想要实现的目标,您可能会得到更好的答案。如果我的猜测是正确的,你应该看看这个问题: IShellExecuteHook.Execute 我相信它会解释如何解决你的实际问题。
The _TLB is stands for type library. It looks like you are trying to implement
IShellExecuteHook.Execute
and have so far found some code here. However, I'm guessing because you didn't tell us. You are likely to get better answers if you are able to to spend more effort describing what it is you are trying to achieve.If my guess is correct you should take a look at this question: IShellExecuteHook.Execute which I believe will explain how to solve your actual problem.
ShellExecHookXample_tlb 意味着该单元是使用内部delphi工具从com(activex)对象导入的(项目->导入类型库...)
它读取 com (activex) 对象的公共方法、事件、属性,并生成具有适当类/接口的 pas 单元。通常您可以在 delphi 文件夹中找到它。
ShellExecHookXample_tlb means that this unit was imported from com (activex) object with an internal delphi tool (Project->Import type library...)
it reads public methods,events, properties of com (activex) object and generates pas unit with appropriate classes/interfaces. Usually you can find it in delphi folders.