欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
Delphi Runtime ActiveX Viewer

Delphi Runtime ActiveX Viewer

Here's some Delphi code that allows you to create any ActiveX control at runtime. You can also set and get properties and call methods. I originally got this idea and some of the code from a magazine article, but I can't remember which magazine.A guy called Jay Cherrabi has also helped out with the code and got me motivated to actually upload it here

TRegAxCtrlList class

This class provides a list of the ActiveX controls that the registry says are installed on your system. There are properties providing the ClassID, ProgID, description and filename of each control. In some cases, your registry will contain entries for non-existent controls, so this list may be incorrect

TActiveXHost class

This class acts as the host for the ActiveX control. It provides a list of the available properties, methods and events. It allows you to get and set properies, call methods and sink events via the OnEvent event handler. Now will also allow you to create a control that isn't registered via the filename and the GUID

TTypeLibViewer class

This class acts as a wrapper around the WinAPI functions for accessing type libraries

Download

This ZIP file contains these three classes and an example application

Delphi 5

I wrote this using Delphi 7 and it won't compile in Delphi 5. This is because the methods StandardEvent and InvokeEvent are private in TOleControl in Delphi 5. In Delphi 7, these are now protected and virtual. So you have two options if you want to compile this in Delphi 5. You can copy OleCtrls.pas to your project directory and make the two methods protected and virtual. Alternatively, if you don't care about events, then comment out the code

To Do

  • Parameterised properties
Here's some Delphi code that allows you to create any ActiveX control at runtime. You can also set and get properties and call methods. I originally got this idea and some of the code from a magazine article, but I can't remember which magazine.A guy called Jay Cherrabi has also helped out with the code and got me motivated to actually upload it here

TRegAxCtrlList class

This class provides a list of the ActiveX controls that the registry says are installed on your system. There are properties providing the ClassID, ProgID, description and filename of each control. In some cases, your registry will contain entries for non-existent controls, so this list may be incorrect

TActiveXHost class

This class acts as the host for the ActiveX control. It provides a list of the available properties, methods and events. It allows you to get and set properies, call methods and sink events via the OnEvent event handler. Now will also allow you to create a control that isn't registered via the filename and the GUID

TTypeLibViewer class

This class acts as a wrapper around the WinAPI functions for accessing type libraries

Download

This ZIP file contains these three classes and an example application

Delphi 5

I wrote this using Delphi 7 and it won't compile in Delphi 5. This is because the methods StandardEvent and InvokeEvent are private in TOleControl in Delphi 5. In Delphi 7, these are now protected and virtual. So you have two options if you want to compile this in Delphi 5. You can copy OleCtrls.pas to your project directory and make the two methods protected and virtual. Alternatively, if you don't care about events, then comment out the code

To Do

  • Parameterised properties
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
Applet Security (Java Foundation Classes)
Delphi開(kāi)發(fā)ActiveX的時(shí)候要注意的一個(gè)問(wèn)題
Delphi 中使用 ActiveX DLL的方法
Mozilla ActiveX control
Delphi COM接口編程(ActiveX Library)(二)
深入理解Objective-C中的對象
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久