Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Crashed B4PPC on device trying serial port

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2009, 09:11 AM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default Crashed B4PPC on device trying serial port

Hi chaps, I downloaded Serialminimum1v3.sbp (per http://www.basic4ppc.com/forum/attac...minimum1v3.sbp) and tried to run it on my device.

It appears to start up but then, spontaneously but repeatably, I get a "native exception" with detail:
ExceptionCode: 0xc0000005
ExceptionAddress: 0x01258fc8
Reading: 0x00000004

It says I'm running B4PPC 6.50 and .NET 2.0.7045.

Cheers, Mike.
Reply With Quote
  #2 (permalink)  
Old 03-30-2009, 10:47 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

You are a bit short on detail here! What is your device and OS? Is this serial port hardware on the device or is it a virtual Bluetooth or other port? This 3rd party app you are having trouble with - what is it and is it trying to use this serial port? Is it throwing the same error or if not in what way is it failing? That error is apparently an access violation so on which line of code is it occurring
Reply With Quote
  #3 (permalink)  
Old 03-30-2009, 12:49 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Thanks for response.

It may be that the problem is per:

"As Zenerdiode wrote, you should replace SerialDesktop.dll and SerialDevice.dll with Serial2.dll or SerialEx.dll. The older libraries are not compatible with .Net CF 2.0."

(If the "not compatible" could result in a crash.)

But my device is a F-S Loox 560 running WM5.0 and the serial I want is plain COM1. Which, as a device+cable works OK to ActiveSync, for example.

Anyway, I changed the above source code, on my device, to use Serial2.dll and altered some serial settings which were not what I wanted and I can now run it to do simple stuff. So now perhaps I can go back to the 3rd-party application (which is MobileVT) and see if I can get [X|Y|Z]modem protocol working to my Psion which purports to support them too...

Cheers, Mike.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Port problems when compiling for the PDA device. pdablue Questions (Windows Mobile) 3 03-30-2009 02:56 PM
Serial Port ceaser Questions (Windows Mobile) 10 01-11-2009 03:26 PM
How to port 'C' functions to b4ppc taximania Questions (Windows Mobile) 5 12-12-2007 09:25 AM
GPS and Virtual Serial Port alfcen Questions (Windows Mobile) 2 10-05-2007 01:56 PM
Open serial port crashes program on device Steve Bug Reports 2 05-23-2007 09:52 PM


All times are GMT. The time now is 04:10 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0