Null Reference Exception

Null Reference Exception

Imagen de rtbsoft

I'm getting this exception:

System.ArgumentNullException: Value cannot be null.
Parameter name: format
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at Intel.Healthcare.Device.Buttons..ctor(IntPtr windowHandle)
at xxx.frmScan..ctor()

My code at that point looks like:

using Intel.Healthcare;
using Intel.Healthcare.Device;
using Intel.Healthcare.Exception;

Buttons btn;
EventHandler mRfidScannedHand = null;

public frmScan()
{
InitializeComponent();
btn = new Buttons(this.Handle);
mRfidScannedHand = new EventHandler(mBtn_RfidScanned);
}

Any ideas on what I'm doing wrong?

publicaciones de 5 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de johnny-cutright (Intel)

rtbsoft,

There is not enough detail here to understand root casue of your issue. Can you please provide the following

1. Version of PD
2. Version of SDK
3. Full test code for us to evaluate the issue.

Thanks

John C

Imagen de rtbsoft

The PD is version 2.0.0.25057.

Intel.Healthcare version: 2.1.0.30123

Intel.Healthcare runtime version: v2.0.50727

A C# project demonstrating this error is attached.

Adjuntos: 

AdjuntoTamaño
Descargar TestDT.zip37.67 KB
Imagen de johnny-cutright (Intel)

rtbsoft,

You are running two different version of your PD and SDK. They need to be the same.

I suggest that you upgrade to the most current versions for both.
Uninstall both the SDK and PD and then download and install the latest versions.

For the SDK you can get it from Intel at
http://downloadcenter.intel.com/SearchResult.aspx?lang=eng&ProductFamily=Healthcare+Products&ProductLine=Healthcare+IT&ProductProduct=Mobile+Clinical+Assistant+(MCA)&ProdId=2854&LineId=3022&FamilyId=2918

You can get the PD from your hardware vendor.

Thanks

John C

Imagen de rtbsoft

thanks!

Inicie sesión para dejar un comentario.