Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Registering ActiveX

Posted on 1998-01-20
2
320 Views
Last Modified: 2010-04-04
I would like to know how to register ActiveX components programaticaly in Delphi 3. I don't want someone tell me about some components that do that kind of job...
0
Comment
Question by:fmichaud061597
2 Comments
 
LVL 2

Accepted Solution

by:
mvz121697 earned 100 total points
ID: 1357097
2 options:
- shell to regsvr32.exe , or
- do it yourself:

var
  hOCX:integer;
  pReg: procedure;
begin
  hOCX := LoadLibrary('CFX32.OCX');
  if (hOCX <> 0) Then
  begin
    pReg := GetProcAddress(hOCX,'DllRegisterServer');
    pReg; { Call the registration function }
    FreeLibrary(hOCX);
  end
end;

0
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1357098
Thanks for the information !
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Magic Software info 18 138
CheckListBox usage 3 71
How to remove Recent Projects from Embarcadero C++ builder XE10. Berlin 2 66
MS Access from Delphi 31 60
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question