473,386 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Serial Coms

Hi,
I've just build a small application (Windows Applicañtion) that work with
John Hind's CommBase.dll.
This application opens Com1 port and sends a byte.
I spend some days working on it because I'm new with VS .Net and new with C#
Now I wanted to build the same application for SmallDevices working with
Windows CE .NET and I get the error "System.MissingMethodException" while
trying to open the port into the Windows CE Emulator.

Could you help me?
Thanks

Nov 15 '05 #1
1 2089
Hi Carmen,

IT should be that CommBase.dll use P/Invoke in other words it calls the
windows API , in the PPC platform the API is different, they are even in
different dlls, therefore is HIGHLY unusual ( I would say impossible ) that
a dll targeted to Win32 works on PPC.

Take a look at http://www.opennetcf.org/serial.asp and in general if you
have problem using the CF there is a group devoted to it :
microsoft.public.dotnet.framework.compactframework

Hope this help,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"carmen" <en****@terra.es> wrote in message
news:ur**************@TK2MSFTNGP10.phx.gbl...
Hi,
I've just build a small application (Windows Applicañtion) that work with
John Hind's CommBase.dll.
This application opens Com1 port and sends a byte.
I spend some days working on it because I'm new with VS .Net and new with C# Now I wanted to build the same application for SmallDevices working with
Windows CE .NET and I get the error "System.MissingMethodException" while
trying to open the port into the Windows CE Emulator.

Could you help me?
Thanks

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: tom | last post by:
Hi, How do I get the serial number of the harddisk in .NET? I want this to be the same number even if the user has reformatted, so I do not want the volume serial number. Thanx, t
3
by: Stewart Allen | last post by:
Hi there I'm trying to find part serial numbers between 2 numbers. The user selects a part number from a combo box and then enters a range of serial numbers into 2 text boxes and the resulting...
0
by: Karl | last post by:
Hi, I've been trying for some time to establish reliable serial comms for a 4-port system, i.e. with the two regular COM1 and COM2 on the motherboard and with a dual PCI serial card (COM3 and...
13
by: Al the programmer | last post by:
I need to access the serial ports on my webserver from an asp.net page. I have no problem accessing the serial ports from a windows form application, but the code doesn't work in asp.net. I have...
0
by: David | last post by:
For anyone interested that read my original posting regarding problem controlling 2 serial ports. One of the ports was a USB - RS232 adaptor. I found that even though the port was Closed in code...
13
by: Rob | last post by:
Hi all, I am fairly new to python, but not programming and embedded. I am having an issue which I believe is related to the hardware, triggered by the software read I am doing in pySerial. I...
4
by: rowan | last post by:
I'm writing a driver in Python for an old fashioned piece of serial equipment. Currently I'm using the USPP serial module. From what I can see all the serial modules seem to set the timeout when...
2
by: NvrBst | last post by:
Hello. I posted this problem in the microsoft.public.dotnet.languages.csharp origionally but moving it here since I think it probably belongs here now. I have a blank ASP.NET/C# page with a...
6
by: terry | last post by:
Hi, I am trying to send a character to '/dev/ttyS0' and expect the same character and upon receipt I want to send another character. I tired with Pyserial but in vain. Test Set up: 1. Send...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.