enriquito

Hello everyone,
I've just developed a C# application for PocketPC and it works perfectly.
What I would like to do know is to convert this app into ActiveX to embedded it in a website.
I've been reading the forums and blogs these days and I found some info, but nowadays I'm not sure whether it is possible or not. Besides, according to what I read <a href =" http://blogs.msdn.com/iemobile/archive/2007/06/20/ie-mobile-support-of-activex.aspx"> here </a> each time a new user visit the website a CAB file has to be downloaded and installed...
Thanks in advanced,
Enrique


Re: .NET Compact Framework C++ wrapping around C#

Ilya Tumanov

That is not possible because NETCF has no hosting support and there¡¯s no way to create ActiveX with managed code. You¡¯d need to do your ActiveX in C++.






Re: .NET Compact Framework C++ wrapping around C#

enriquito

Hello again, I started a post the other day asking about this:

"Hello everyone,
I've just developed a C# application for PocketPC and it works perfectly.
What I would like to do know is to convert this app into ActiveX to embedded it in a website.
I've been reading the forums and blogs these days and I found some info, but nowadays I'm not sure whether it is possible or not.
Thanks in advanced,
Enrique"

and I receive this answer:

"That is not possible because NETCF has no hosting support and there¡¯s no way to create ActiveX with managed code. You¡¯d need to do your ActiveX in C++."

First of all, thanks Ilya Tumanov.
Secondly, I read somewhere that it could be possible to develop a wrapper in C++ and that way I could reuse my code in C#. Is that really possible
Or maybe what I should do is to re-write the entire app in C++...
Regards,
Enrique





Re: .NET Compact Framework C++ wrapping around C#

Ilya Tumanov

Please do not multipost. Merging¡­

No, that is really not possible (and certainly not supported). You really need hosting to do it, with or without native wrapper and hosting is not supported. At best you can launch managed application in a separate process.






Re: .NET Compact Framework C++ wrapping around C#

enriquito

Well, thanks again. Your comments have been very useful.
I can not launch a separate process because I need both of them to exchange information in a particular way.
So I am going to re-write the code, but this time in C++.
Cheers