what problem with my image windoe ce 6.0

tungnh
I build successfull image window ce 6.0 r3, it works but my serialport.exe
run error with my image ("System.IO.Ports.SerialStream.WinIOErrow...")
althought it work fine with image from friendlyarm.net.
I treid change comport name but it still does not work.
anyone help me?

Androidfan
It is probably set as a debug port.

This is what the beginning of option.h file should look like


//
// Copyright (c) FriendlyARM CO., Ltd.  All rights reserved.
//
#ifndef __OPTIONS_H
#define __OPTIONS_H

// --- by customer
//#define KITL_NONE
#define KITL_SERIAL_UART0
//#define KITL_SERIAL_UART1
//#define KITL_USBSERIAL
//#define KITL_ETHERNET

//#define LCD_N35
//#define LCD_L80
#define LCD_T35
//#define LCD_A70
//#define LCD_VGA1024768

//#define TOUCH_SCREEN_WIDTH  1024
//#define TOUCH_SCREEN_HEIGHT 768


The file can be found c:\wince600\platform\mini2440\src\inc