hi al

can i develop a component(.net) with c++.net(ATL) for ppc2003

TKS for any information

Re: c++.net, ATL, ppc2003 by antispam

antispam
Mon May 10 07:09:20 CDT 2004

On 5/10/2004 5:41 AM, C.M.Cheng wrote:

> hi all
>
> can i develop a component(.net) with c++.net(ATL) for ppc2003?

Are you going to use Managed C++ ?

Managed C++ is not supported by .NET Compact Framework interoperability.
There is a very very poor support for COM technology but it is
possible with some effort.

So, the only simple way to use unmanagedo C++ (even codes written using
ATL classes) in .NET CF is P/Invoke. It is rather simple and structural
way (function calls from DLL) with no advanced OOP techniques.

Greets

--

Mateusz £oskot
mateusz at loskot dot net

Re: c++.net, ATL, ppc2003 by Chris

Chris
Mon May 10 07:24:49 CDT 2004

You can use ATL, but not managed C++.

-Chris


"C.M.Cheng" <anonymous@discussions.microsoft.com> wrote in message
news:7405BD8A-B805-4EE5-AE19-0EBBF14B8C95@microsoft.com...
> hi all
>
> can i develop a component(.net) with c++.net(ATL) for ppc2003?
>
> TKS for any information



Re: c++.net, ATL, ppc2003 by antispam

antispam
Mon May 10 08:54:30 CDT 2004

On 5/10/2004 2:24 PM, Chris Tacke, eMVP wrote:
> You can use ATL, but not managed C++.
>

BTW, I can not uderstand why Microsoft did not
implement managed c++ support for .NET CF.
It would be very very useful for creating
common C++ classes wrapper for .NET CF in managed
C++ or even for COM/ActiveX wrappers.

I know that COM/ActiveX is not supported, but
wrapping it using P/Invoke is a big problem.
I think that there are peoples who would like to
develop some small wrappers for their solutions
and they don't want to use very very expansive Odyssey
COM/ActiveX wrappers.

Please consider, there is a lot of working COM/ActiveX
codes and witho
That's only my opinion.

Greets

--

Mateusz £oskot
mateusz at loskot dot net

Re: c++.net, ATL, ppc2003 by Chris

Chris
Mon May 10 10:51:37 CDT 2004

Agreed, it would make P/Invoking much simpler. I think it was omitted
simply because of the required testing effort.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Mateusz £oskot" <antispam@see.my.signature> wrote in message
news:qQLnc.58212$O9.26920@news.chello.at...
> On 5/10/2004 2:24 PM, Chris Tacke, eMVP wrote:
> > You can use ATL, but not managed C++.
> >
>
> BTW, I can not uderstand why Microsoft did not
> implement managed c++ support for .NET CF.
> It would be very very useful for creating
> common C++ classes wrapper for .NET CF in managed
> C++ or even for COM/ActiveX wrappers.
>
> I know that COM/ActiveX is not supported, but
> wrapping it using P/Invoke is a big problem.
> I think that there are peoples who would like to
> develop some small wrappers for their solutions
> and they don't want to use very very expansive Odyssey
> COM/ActiveX wrappers.
>
> Please consider, there is a lot of working COM/ActiveX
> codes and witho
> That's only my opinion.
>
> Greets
>
> --
>
> Mateusz £oskot
> mateusz at loskot dot net



Re: c++.net, ATL, ppc2003 by antispam

antispam
Mon May 10 11:42:41 CDT 2004

On 5/10/2004 5:51 PM, Chris Tacke, eMVP wrote:

> Agreed, it would make P/Invoking much simpler. I think it was omitted
> simply because of the required testing effort.
>

May be, but I would pay much for managed C++ and
COM/ActiveX (even simple implementation) support
provided by .NET CF.

There is a lot of COM/ActiveX codes and I don't think
that it is good to force people to rewrite it to .NET CF.
Reasons ?
There is still many many solutions and subjects for which
.NET CF is too slow and performance is not acceptable.
i.e. GIS/mapping applications, games, graphics, etc.

But I agree .NET CF is great solution for programmers
who want to develop something quickly i.e. prototypes.

It is my own opinion. Second one ;-)

Greets

--

Mateusz £oskot
mateusz at loskot dot net

Re: c++.net, ATL, ppc2003 by Chris

Chris
Mon May 10 13:21:08 CDT 2004

CF v 2.0 will have COM interop, but still no managed C++, so they are not
necessarily linked.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Mateusz £oskot" <antispam@see.my.signature> wrote in message
news:5iOnc.59450$O9.48027@news.chello.at...
> On 5/10/2004 5:51 PM, Chris Tacke, eMVP wrote:
>
> > Agreed, it would make P/Invoking much simpler. I think it was omitted
> > simply because of the required testing effort.
> >
>
> May be, but I would pay much for managed C++ and
> COM/ActiveX (even simple implementation) support
> provided by .NET CF.
>
> There is a lot of COM/ActiveX codes and I don't think
> that it is good to force people to rewrite it to .NET CF.
> Reasons ?
> There is still many many solutions and subjects for which
> .NET CF is too slow and performance is not acceptable.
> i.e. GIS/mapping applications, games, graphics, etc.
>
> But I agree .NET CF is great solution for programmers
> who want to develop something quickly i.e. prototypes.
>
> It is my own opinion. Second one ;-)
>
> Greets
>
> --
>
> Mateusz £oskot
> mateusz at loskot dot net



Re: c++.net, ATL, ppc2003 by anonymous

anonymous
Mon May 10 23:01:06 CDT 2004


do you mean CF v 2.0 will support a wrraper for those COM component developed with EVC before
then, i'll be able to use COM component within a C# project, right

thanks for a lot of msg

----- Chris Tacke, eMVP wrote: ----

CF v 2.0 will have COM interop, but still no managed C++, so they are no
necessarily linked

--
Chris Tacke, eMV
Co-Founder and Advisory Board Membe
www.OpenNETCF.or
--
Windows CE Product Manage
Applied Data System
www.applieddata.ne



Re: c++.net, ATL, ppc2003 by Chris

Chris
Tue May 11 06:30:44 CDT 2004

Yes. CF v 2.0 will have a COM class wizard that generates the interop
libraries very much like the desktop works now. You generate the interop
classes, then reference them from your code.

-Chris


"C.M.Cheng" <anonymous@discussions.microsoft.com> wrote in message
news:5FB2D227-DEE3-45ED-95D6-CBD2AFC75713@microsoft.com...
>
> do you mean CF v 2.0 will support a wrraper for those COM component
developed with EVC before?
> then, i'll be able to use COM component within a C# project, right?
>
> thanks for a lot of msg.
>
> ----- Chris Tacke, eMVP wrote: -----
>
> CF v 2.0 will have COM interop, but still no managed C++, so they are
not
> necessarily linked.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>



Re: c++.net, ATL, ppc2003 by antispam

antispam
Wed May 12 10:46:16 CDT 2004

On 5/11/2004 1:30 PM, Chris Tacke, eMVP wrote:

> Yes. CF v 2.0 will have a COM class wizard that generates the interop
> libraries very much like the desktop works now. You generate the interop
> classes, then reference them from your code.
>

That's great information.
Thanks a lot.

All the best


--

Mateusz £oskot
mateusz at loskot dot net