zoukankan      html  css  js  c++  java
  • Where is the ActiveX Project Type for Delphi 10.1 Berlin

    n 10.1 Berlin the ActiveX project types are missing from the New Items Window under Delphi. They are there for C++Builder, but not for Delphi.

    This only happens if you use the shiney new Feature Installer that was introduced with 10.1 Berlin. So if you use the old offline ISO installer then it shows up fine.

    [UpdateThis was just fixed in the installer. So if you download and install after today everything will work great!]

    Turns out though, it is only a simple registry issue. Instead of explaining the details behind why, here is the quick and easy work around.

    1. Close RAD Studio or Delphi 10.1 Berlin.
    2. Open RegEdit
    3. Browse to “HKEY_CURRENT_USERSOFTWAREEmbarcaderoBDS18.0Known IDE PackagesDelphi”
    4. Find the entry named “$(BDS)Bindelphicompro240.bpl” and change the value from “__(Untitled)” to “(Untitled)”. Here is a before screenshot:
    5. And here is an after screenshot (notice the missing double underscore)
    6. Then restart your RAD Studio or Delphi 10.1 IDE and bask in all the ActiveX glory that you have restored!
    7. Now you can create a new ActiveX Library or Type Library with your favorite programming language.

    Interesting story, long ago a friend of mine worked for a software development company that used Visual Basic. He was in the “skunkworks” division that used Delphi to create all the ActiveX components that the Visual Basic developers used. There were 2 Delphi developers and about 50 VB developers. Whenever there was something that couldn’t be done in VB (which happened a lot) then they would make a new ActiveX in Delphi for them.

    My friend showed him that they could actually out produce the VB developers with Delphi, but his boss was convinced that they were a VB development firm, and didn’t want to switch to the superior development tool. Unfortunately VB has died off, and all of those developers lost their jobs. My friend is glad he stuck with Delphi.

    http://delphi.org/2016/04/where-is-the-activex-project-type-for-delphi-10-1-berlin/

  • 相关阅读:
    RESTful API 介绍,设计
    golang web框架设计7:整合框架
    golang web框架设计6:上下文设计
    golang web框架设计5:配置设计
    golang web框架设计4:日志设计
    golang web框架设计3:controller设计
    golang web框架设计2:自定义路由
    golang web框架设计1:框架规划
    深入理解golang: channels
    服务端高并发分布式十四次架构演进之路
  • 原文地址:https://www.cnblogs.com/findumars/p/5957366.html
Copyright © 2011-2022 走看看