RE: clearcommerror native exception?



This exception indicates that you're doing something wrong when passing the
managed memory. Why don't use the OpenNETCF.org's serial comm library?

http://www.opennetcf.org/sdf

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


"ed via DotNetMonster.com" wrote:

> Hi Guys:
>
> I have searched in the forums and groups and I haven't find out why this is
> happenning. Either I am missing some setting on my device or there is some
> other way to code it. Here is my senario:
>
> I am trying to write a serial bluetooth communication application on pocket
> pc platform.
> I have successfully opened ports and write to it.
> In my attempt to check for error flags using ClearCommError that I p/invoked
> from coredll.dll, pocket pc opens up a dialog form outside of my code that
> reads:
>
> "A native exception has occurred in dummyProgram.exe
> select quit and restart this program or select details for more info"
>
> Is there anyway I can get the error flags on the pocket pc? I am trying to
> do this because I want to implement the auto baud functionality. I pretty
> much has the auto baud algorithm but this dialog is driving me nuts.
>
> Any help is appreciated. Thanks for reading.
>
> --
> "What if this is as good as it gets?"
>
>
> Message posted via DotNetMonster.com
> http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-compact-framework/200508/1
>
>
.



Relevant Pages

  • clearcommerror native exception?
    ... Either I am missing some setting on my device or there is some ... I am trying to write a serial bluetooth communication application on pocket ... Is there anyway I can get the error flags on the pocket pc? ... much has the auto baud algorithm but this dialog is driving me nuts. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: managed out of memory exception in pocket pc 2002 emulator
    ... Which statement causes the exception? ... > 128kb project just won't load the form when i debug the project. ... >>> My pocket pc application was up and running in both the pocket pc 2002 ... both the emulator and the actual device could not load the ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: socket problem
    ... What exception are you getting if you are getting an exception. ... Visual Developer - Device Application Development MVP ... And I written in VS 2005 ap rogram w pocket pc. ... Socket tempSocket = new Socket(ipe.AddressFamily, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Native Exception while running the Application
    ... In the KeyUp event of all the textboxs and form, ... am using the functional keys it is throwing the following Native Exception. ... Windows CE. ... Pocket PC 2002 and Windows CE.NET 4.2, We have built the application for ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: System.MissingMethodException is driving me crazy
    ... There are a number of things that can cause this exception to be thrown and ... I'm doing dev is when I toggle between doing desktop and pocket pc ... > Public Sub LoadForm() ... > if I rename the method LoadForm then it will run a few times but then ...
    (microsoft.public.dotnet.framework.compactframework)