Hello to all,
I got a problem by writing as WIndows-Mobile programm.
I using then "InTheHand.Device.Location.GeoCoordinateWatcher"
with statement: Private WithEvents gcw As InTheHand.Device.Location.GeoCoordinateWatcher = new ......
and the Event-Handler:
Private Sub gcw_PositionChanged(ByVal sender As Object, ByVal e As InTheHand.Device.Location.GeoPositionChangedEventArgs(Of InTheHand.Device.Location.GeoCoordinate)) Handles gcw.PositionChanged Me.Invoke(New OrtungsGendertDelegate(AddressOf OrtungsGendert), e.Position.Location)
End Sub
The first time i use Me.gcw.Start() -- the Eventhandler works.
But when i Use Me.gcw.Stop() and some time later a new: Me.gcw.Start() -- the Eventhandler never gots control !!!
Where is my mistake ?
Siegfried