I have found an answer for my problem....
Hello!
I have found an answer for my problem and I will post it, because it is perhaps interested for someone::sign0060:
Under
http://www.franson.com/serialtools/
you can get different libraries for .Net Framework and .Net Compact Framework (1.0 and 2.0) to create serial and virtual serial ports. So it is very easy to create a virtual serial port pair and send and receive data from the first to the second port. In the sequel, you can create your own null modem emulator for example.
To create a null modem emulator on your device under .Net Compact Framework 2.0, you only have to do this:
Contain first the SerialNET.200.CF.dll and create a virtual serial input and output-object. For example:
Vserial_input.VPort
Vserial_output.VPort
After that, you init the virtual ports and open them. In the code, I will create a virtual serial port pair with port 7 and 8.
Sub App_Start
Vserial_input.New1
Vserial_output.New1
Vserial_input.ComPort=7
Vserial_output.ComPort=8
Vserial_input.Created=true 'open virtual port 7'
Vserial_output.Created=true 'open virtual port 8'
timer1.Enabled=true
End Sub
Sub Timer1_Tick
Errorlabel(IOError)
DataString=Vserial_input.DataFromPort(0,0) 'null modem function'
Vserial_output.DataToPort(DataString)
IOError:
End Sub
With this simple code, you have your own null modem emulator. Now you can send with serial.output(String) from the Serial2.dll data out of your own application to COM7, which is received from COM8. So you can get this data with serial.readstring out of another application. In this way, you can send data from your own application to a navigation-software like GoogleMaps or TomTom Navigator for example.
To use SerialTools SDK from Franson, you first have to create a license-object with a trial- or full-licensekey.
I hope, there is someone who can use this in his own applications.