Amazing Hole in c# and .NET Compact Framework

R

Rob Collins

I have been searching for a month now for a method of
making multiple sounds at once using c# and the .NET
Compact Framework. Apart from spending many hours on the
problem myself I have posted questions on many forums
(including this one).

Given that no answers have come through - and a number of
other people have asked for the same help - I conclude
that it is very difficult if not impossible. This seems to
be due to the bad mis-match between c# managed code and
the core functionality of the pocket pc (which is very C++
flavour).

I am really regretting investing in Visual Studio 2003 and
effort in c#. As soon as you try to do non-trivial things
requiring low-level system calls you hit a brick wall -
which even people on the Microsoft Forum can't answer.

Does anybody have any ideas - or is this really a
limitation of C# and .NET CF?

Regards

Rob
 
T

Tom Dacon

I'm sorry, but I don't see the problem here. In an earlier post you referred
to an embedded C++ solution with supplied code. It wouldn't be difficult to
create a support assembly in C++ which implements that part of the solution
and which you can call from your front-end C# code. If what you want is a
workable solution, rather than a pure C# solution, just use the appropriate
tools for the job and move on.

Good luck,
Tom Dacon
Dacon Software Consulting
 
M

Michael Giagnocavo [MVP]

If you can do it on the PPC with some C++ calls, you should be able to do it
via PInvoke with C#.
-mike
 
W

William Ryan

You can PInvoke it from C#. If you know how to write it in C++ then you can
just compile the dll and hit it from C# via PInvoke. I know CF development
may seem a little frustrating up front, but trust me, you can get through it
and overall you will be much more productive than using eVC++. The
Multimedia aspects of CF development are probably the most frustrating, but
they are doable and there are a lot of people out there trying to fill in
the gaps. I know, in many instances you need to know eVC++ and a CF
language to do this, but it's maturing quickly. Have you posted over at
www.opennetcf.org? To the best of my knowledge, there multimedia library
isn't supporting multiple sounds without some work, but I've seen a post or
two related to it. check out
http://forums.devbuzz.com/tm.asp?m=26745&p=3&tmode=1&smode=1 .

HTH,

bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top