How do I access my ActiveX array from the outside?
COM
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, Supposing I have a 2D array of chars in my ActiveX component, how do I make my array visible to an MFC application inside of which I want to embed the control? I have read about the Get/Set methods - in theory I should be able to return a pointer to the first element in the array to my app but how is this done???? Do I have to convert or map my 2D char array as a VARIANT type and use this in the Get method? If anybody has an example of this kind of thing or detailed advice that would be great. I just can't find an example of this anywhere :sigh: I am using Visual C++ 6.0 to develop my ActiveX control and the MFC app. Cheers, Stephen