An OCX *is* a COM inproc server. So whatever you are doing for a COM inproc server should also work just fine for an OCX.
Have you tried this? If so, and if it didn't work, what was the nature of the failure? The only thing I can think of is that maybe you're getting bitten by trying to present things through an automation interface. (OCXs traditionally present automation interfaces, i.e. IDispatch-based.) But there's nothing stopping you defining custom COM interfaces and implementing them on an OCX. What language are you writing your OCX in? (And if in C++, what libraries are you using, if any? ATL? MFC?) -- Ian Griffiths DevelopMentor ----- Original Message ----- From: "Thokala, Sree" <[EMAIL PROTECTED]> > Can some one help us in sending the array of long integers to OCX > from C# .NET application. > WE are able to send array to a COM inproc and local server easily > but unable to send to OCX . > Is there any mechanism to this? You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
