bugs, errors, questions

Aug 20, 2007 at 8:25 AM
Hi,
I have a problem compiling the sources provided here on website. Everything's ok, till in C# compiler it will ask me about a security password, then it doesn't import a dll file.
Is this a bug or just a protection of the source code provided. If it's a bug/error or mine(could happen) please let me know about it.

Regards,
A.T.
Coordinator
Aug 21, 2007 at 4:43 AM
Try and remove the digital signature "SharpGIS.pfx" from the project.
Aug 21, 2007 at 8:09 AM
Thanks a lot. Problem resolved.

Regards,
A.T.
Dec 13, 2007 at 1:24 AM
i removed the *.pfx file but i cannot get the solution to build at due to missing md5 data. i am new with codeplex. can someone help?
Dec 14, 2007 at 1:19 PM
Hello!

I use this code:

public static GPSHandler GPS;
private void button1_Click(object sender, EventArgs e)
{
GPS = new GPSHandler(this);
GPS.TimeOut = 5;
GPS.NewGPSFix += new GPSHandler.NewGPSFixHandler(this.GPSEventHandler);

if (!GPS.IsPortOpen)
{
try
{
GPS.Start("COM4", 4800);
label1.Text = "Working...";
}
catch (System.Exception ex)
{
MessageBox.Show("Error !" + ex.Message);
}
}
else
{
GPS.Stop();
label1.Text = "Stopped !";
}
}

public static GPSHandler GPS;
private void GPSEventHandler(object sender, GPSHandler.GPSEventArgs e)
{
}

private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
GPS.Dispose();
}


After I close my application, there is the exception:
Message: "Object reference not set to an instance of an object."
Stack:
at SharpGis.SharpGps.GPSHandler.Stop()
at SharpGis.SharpGps.GPSHandler.Dispose()
at SharpGis.SharpGps.GPSHandler.Finalize()
TargetSite:
{Void Stop()}


But your sample code works well.