LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

register activeX control

I would like to register an activeX control without using REGSVR32

from MSDN:
The advantage of registering the control directly is that you dont need to invoke and load a separate process (namely, REGSVR32), reducing installation time. In addition, because registration is an internal process, the setup program can handle errors and unforeseen situations better than an external process can.

Wiebe has provided some good info at:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000F97A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=register+activeX+control&USEARCHCONTEXT_QUESTION_S=0

but I would like some other input on registering, either through application builder or otherwis
e.

Thanks, Paul.S
0 Kudos
Message 1 of 2
(2,615 Views)
Write a DLL or CIN, load the DLL or ocx using ::LoadLibrary, find the appropriate DLL Entry

export - DllRegisterServer or DllUnregisterServer

and call it. Perform ::FreeLibrary afterwards.

A Rafiq
0 Kudos
Message 2 of 2
(2,615 Views)