Help

  • Thread starter Thread starter Arvind
  • Start date Start date
A

Arvind

Hello,

Is it possible to use the c# Component (as a DLL) from the evc++
Application?


if so any technical information or sample proj for reference?

Thanks,

Arvind
 
It is not possible to use managed code from unmanaged code. See if your end
user scenario can be catered by having the two as separate processes
communicating via traditional IPC mechanisms

Cheers
Daniel
 
But im able to use it from desktop(VC++ and VB) environment..but not in evc
and evb.

how it is possible?

and what are the solutions for this?

can i redo all the code from .net to evc++ DLL Based project?

The project is to get the UDP Packets from the UDP Server and display it
graphically on the PPC screen.


any ideas will be a great help.


--
Thanks,

Arvind

--
"eRiva Systems" - Where Technology Meets Life, Every Minute.

(e-mail address removed)

www.erivasystems.com
 
Yes the desktop is different. You'll find a few differences with the Compact
Framework.

If you describe which bits of your code are managed and which not someone
may come up with alternatives. I'd say you are either going to have the
whole thing managed (convert your C++ code to C#) or unmanaged (convert your
C# code to C++).

A 3rd alternative, as I suggested in my first reply, is to create two exes.
E.g. the unmanaged can do your data collecting and then pass the data to the
managed process to do the UI rendering. For IPC options, read this:
http://www.danielmoth.com/Blog/2004/09/ipc-with-cf-on-ce-part-1.html

Cheers
Daniel
 
Back
Top