I am just getting started with the G400-D and starting to port my ChipworkX application to it. I have the following code that fails.
GHI.Premium.Net.EthernetBuiltIn ethy = new GHI.Premium.Net.EthernetBuiltIn();
if (!ethy.IsCableConnected)
{
lblMsg.Text = "Error: Network cable appears to be disconnected.";
Glide.MainWindow.FillRect(lblMsg.Rect);
lblMsg.Invalidate();
return false;
}
the stack trace for the error is:
Exception GHI.Premium.Net.NetworkInterfaceExtensionException - 0x00000000 (3)
#### Message:
#### GHI.Premium.Net.EthernetBuiltIn::.ctor [IP: 0011] ####
#### ChipworkX_Mamooth_TFT_Test.Program::UploadLogFile [IP: 0004] ####
#### ChipworkX_Mamooth_TFT_Test.Program::buttonUpload_PressEvent [IP: 0004] ####
#### GHIElectronics.NETMF.Glide.UI.Button::TriggerPressEvent [IP: 000e] ####
#### GHIElectronics.NETMF.Glide.Display.DisplayObjectContainer::OnTouchDown [IP: 0035] ####
#### GHIElectronics.NETMF.Glide.Display.Window::TouchDownEvent [IP: 002e] ####
#### GHIElectronics.NETMF.Glide.TouchEventHandler::Invoke [IP: 202e21af] ####
#### GHIElectronics.NETMF.Glide.GlideTouch::RaiseTouchDownEvent [IP: 0008] ####
#### ChipworkX_Mamooth_TFT_Test.Program::TouchInterupt_OnInterrupt [IP: 0056] ####
A first chance exception of type ‘GHI.Premium.Net.NetworkInterfaceExtensionException’ occurred in GHI.Premium.Net.dll
An unhandled exception of type ‘GHI.Premium.Net.NetworkInterfaceExtensionException’ occurred in GHI.Premium.Net.dll
Uncaught exception
Any thoughts?