1
Vote

No event gps.ReceiveSentence

description

Error 1 'Waymex.Gps.DeviceBase' does not contain a definition for 'ReceiveSentence' and no extension method 'ReceiveSentence' accepting a first argument of type 'Waymex.Gps.DeviceBase' could be found (are you missing a using directive or an assembly reference?) c:\users\xxx\documents\visual studio 2010\Projects\garmin_gps\garmin_gps\Form1.cs 63 17 garmin_gps

Line 20 in DeviceBase : public virtual event EventHandler<ReceiveSentenceEventArgs> ReceiveSentence;

comments

John_Newcombe wrote Feb 17, 2013 at 6:46 AM

Simply use the NmeaDevice class. This derives fro DeviceBase and has the event you need. - John N.