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/

  • 相关阅读:
    JavaScript--截取字符串
    C#--Dictionary字典学习
    根据条件把A表数据更新到B表中一个字段中(查询更新)
    zip多文件的压缩下载和解压
    C# 创建一个新的DataTable,并根据查询的DataTable结果进行重新赋值
    C# string.formate() 中 如何使用string 循环出来的一串字符
    asp.net mvc 之jqgird 列表数据 根据字典显示中文
    asp.net mvc 之显示24小时折线对比数据
    hightchart扇形图asp.net mvc 实现
    hightchart单个柱状图实现之asp.net mvc
  • 原文地址:https://www.cnblogs.com/findumars/p/5957366.html
Copyright © 2011-2022 走看看