Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A special one ! about ocx , dll
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00505104
Message ID:
00505205
Views:
27
>Hello all
>My boss want to put all the dll and ocx used by my exe in the same directory and force the .exe to use theme. How can i told my exe to use the comct2.ocx or comctl.ocx in the directory even if in the registery they are declare in teh c:\windows\system... Can I do it ? and How.
>
>Any tips ?
>
>Thanks
>
Benoit,

The basic answer is that with most ActiveX controls and COM servers, this is resolved by the system via the ProgID. For example, COMCTL.ImageListCtrl. This has two keys beneath it. One, the CLSID and, two, CurVer, which points to the most recent version (ie: COMCTL.ImageListCtrl.1). While it is possible to have more than one version, you'd have to reference it directly. The problem comes into play with installation. The control registers itself (via an internal DllRegisterServer function). You can't control that.

While Win2K allows for side-by-side DLLs, I don't think that this applies to ActiveX controls COM Servers.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform