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/

  • 相关阅读:
    pandas read_excel 产生 Unnamed:0 列
    python 打印输出百分比符号%
    python 内存回收
    python 编码问题
    python 判断 txt 编码方式
    python 二维list取列
    python 两个list 求交集,并集,差集
    pandas Timestamp的用法
    Dataframe 取列名
    Dataframe 新增一列, apply 通用方法
  • 原文地址:https://www.cnblogs.com/findumars/p/5957366.html
Copyright © 2011-2022 走看看