RE: clearcommerror native exception?
- From: Alex Yakhnin [MVP] <a.yakhnin@xxxxxxxxxxxxxx>
- Date: Tue, 23 Aug 2005 07:49:03 -0700
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
>
>
.
- Follow-Ups:
- RE: clearcommerror native exception?
- From: ed via DotNetMonster.com
- RE: clearcommerror native exception?
- From: ed via DotNetMonster.com
- RE: clearcommerror native exception?
- References:
- clearcommerror native exception?
- From: ed via DotNetMonster.com
- clearcommerror native exception?
- Prev by Date: Trivial serial communication problem?
- Next by Date: Re: Custom Controls with DLLImports in VS 2005
- Previous by thread: clearcommerror native exception?
- Next by thread: RE: clearcommerror native exception?
- Index(es):
Relevant Pages
|