Passing OCX control to DotNet

dwhite

Member
I am building a DotNet DLL and am trying to pass an OCX control to it. On the DotNet side it compiles fine. In Progress, it doesn't recognize what I try to pass into my DotNet method call for that OCX control as a valid object of the OCX type so it won't compile.

I only have access to the Widget-Handle and Component-Handle of my OCX control in Progress. I think that is the problem - is there some way to pass the actual OCX control through to my DotNet method via Progress in such a way that it'll recognize the OCX control as the proper type?
 
Top