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/

  • 相关阅读:
    使用.Net Core+IView+Vue集成上传图片功能
    Vue基于vue-quill-editor富文本编辑器使用心得
    Fiddler原理~知多少?
    ASP.NET Core WebApi中简单像素转换跟踪实现
    利用SQL Profiler 追踪数据库操作
    ASP.NET Core Web API 版本控制
    处理SQL Server中的重复行
    【3分钟就会系列】使用Ocelot+Consul搭建微服务吧!
    ASP.NET Core WebAPI控制器返回类型的最佳选项
    花10分钟搞懂开源框架吧
  • 原文地址:https://www.cnblogs.com/findumars/p/5957366.html
Copyright © 2011-2022 走看看