PDA

View Full Version : Netremote SDK - Sample Driver won't compile?



midiringtones
February 10th, 2005, 05:54 PM
Ok, I am (finally) up and running using VStudio 2003 and embedded Visual Tools v3.

I am using the sdk and trying to compile the same driver and I get and error saying:


c:\nrsdk\SampleDriver\sample.cpp(87): error C2555: 'SampleDriver::RegisterButton': overriding virtual function return type differs and is not covariant from 'NetRemoteDriver::RegisterButton'

I also get a warning:


c:\nrsdk\SampleDriver\sample.cpp(155): warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of dataI

I imagine the warning is intentional, but curious about the error - I don't know my way around enough right now to know what it should be!

Curt

midiringtones
February 10th, 2005, 06:26 PM
Apparently it is supposed to be a char, not a bool. Compiles now :)

Curt