MSDOTnet.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PInvokeLibrary Sample Problem

 
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> Compact Framework
Author Message
Steve McKewen



Joined: 08 Jan 2008
Posts: 2

PostPosted: Wed Feb 06, 2008 5:05 pm    Post subject: PInvokeLibrary Sample Problem Reply with quote

I am working on a Windows Mobile 6 Classic device with VS2005, c#.
I want to monitor the audio input for a loud noise.
I have got the PInvokeLibrary sample to show me how to capture audio input
but it doesn't seem to work 100%.
When I run the sample, select WaveIn test, it should capture audio input,
but it doesn't. It does everything without any error or warnings, but
doesn't actually capture anything.
It should be capture blocks via a MM_WIM_DATA message to a Message Window
(WaveIn.cs line 381), but that message is never received. I get the
termination message, but no progressive blocks.

Has anyone else seen this?
Any hints, tips or links appreciated.

Thanks in advance.
Steve Mac

Archived from group: microsoft>public>dotnet>framework>compactframework
Back to top
View user's profile Send private message
user



Joined: 08 Aug 2007
Posts: 286

PostPosted: Wed Feb 06, 2008 2:34 am    Post subject: Re: PInvokeLibrary Sample Problem Reply with quote

Without seeing code we could only make wild, likely incorrect, guesses.


--

Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com


"Steve McKewen" wrote in message
news:%23tmxRxFaIHA.1204@TK2MSFTNGP03.phx.gbl...
>I am working on a Windows Mobile 6 Classic device with VS2005, c#.
> I want to monitor the audio input for a loud noise.
> I have got the PInvokeLibrary sample to show me how to capture audio input
> but it doesn't seem to work 100%.
> When I run the sample, select WaveIn test, it should capture audio input,
> but it doesn't. It does everything without any error or warnings, but
> doesn't actually capture anything.
> It should be capture blocks via a MM_WIM_DATA message to a Message Window
> (WaveIn.cs line 381), but that message is never received. I get the
> termination message, but no progressive blocks.
>
> Has anyone else seen this?
> Any hints, tips or links appreciated.
>
> Thanks in advance.
> Steve Mac
>
Back to top
View user's profile Send private message
Steve McKewen



Joined: 08 Jan 2008
Posts: 2

PostPosted: Wed Feb 06, 2008 10:41 pm    Post subject: Re: PInvokeLibrary Sample Problem Reply with quote

Sorry Chris
The application comes from here:
http://msdn2.microsoft.com/en-us/library/aa446573.aspx
It needs to be automatically converted to VS2005 and retargeted to Mobile 6.

I guess what I really want to know is; does it work for anyone else?

SteveMac

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
where could i find sample of DataGrid for CF? Hi: i want use DataGrid to display local SQL CE data, but the sample of DataGrid in help is for .net, where could i find the sample? or someone could send me one copy? i want write a program like Contact, but using WinCE,C# and SQL CE, which component su

Problem with wceload.exe Hello, i want to install automatical a cab-file without the user have to choose the destination folder. i use the following code: but the option /noaskdest is ignore

SQL Server CE problem Hi, the following code always throws the exception. Why? It should simply create the table with the two rows: If Not Then Dim sqlEngine As New Source = \Program

InvokeMember() problem Hello, I try to call an object's member function by function. It works perfectly under .NET Framework but throws an under the .NET Compact Framework. Please take a look at the following code snippet: public class

Problem opening several modal forms Hello My application opens several modal forms (the modal Form1 opens the modal Form2 that opens the modal Form3 and so on), but, the third and the successives modal forms.... are not modal!!! Seems that there's a maximum number of modal forms, is it poss
Post new topic   Reply to topic    MSDOTnet.org Forum Index -> Compact Framework All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group