I am going to deploy a 64 bit version of an OCX written in Delphi. The OCX requires stdvcl40.dll to be available and registered in the target system. To my knowledge there is only a 32 bit version present in my Delphi installation, but as the sources are available I should be able to create a 64 bit version by myself.
Is there a need or an advantage doing so or should I stick with the contained version and only deploy that one?
Edit Just to give a little background: StdVCL40.dll mainly contains a type library exposing three interfaces declared in System.Win.StdVCL.pas. Later versions of this dll also implement some property pages handling these interfaces.
The result of removing the dependancy to stdvcl40.dll is that these interfaces (IStrings in my case) are no more available in my type library and any reference is replaced with IDispatch.
stdvcl40.dll is not a design-time package and it had to be deployed together with most of my ActiveX libraries in former Delphi versions. I have to deploy it because otherwise the OCX refuses to register in the first place.
It actually seems to work also with the 64-bit version of my OCX probably because Windows COM is clever enough to figure out that there is no 64 bit version and thus takes the 32 bit version. Although I am not sure if this is the way to go. Thus my question.