[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

Registering ActiveX

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
fmichaud061597
Asked:
fmichaud061597
1 Solution
 
mvz121697Commented:
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
 
JimBob091197Commented:
Thanks for the information !
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now