问题描述
您好,
Microsoft Health Vault提供了一些DDK示例代码,用于将度量上载到healthvault帐户。我选了一个示例项目,刚刚添加了血氧饱和度和心率的属性值。在
期间,建立了一个链接器错误。
我添加的行是,
pValues-> SetGuidValue(WPD_OBJECT_CONTENT_TYPE,HS_CONTENT_TYPE_PULSE_OXIMETRY_READING);
pValues-> SetGuidValue(WPD_OBJECT_FORMAT,HS_OBJECT_FORMAT_ABSTRACT_PULSE_OXIMETRY_READING);
pValues-> SetUnsignedIntegerValue(HS_PULSE_OXIMETRY_BLOOD_OXYGEN_SATURATION,measurements [index] .OxySaturation);
建造项目时显示的链接器错误
1> Device.obj:错误LNK2001:未解析的外部符号_HS_PULSE_OXIMETRY_BLOOD_OXYGEN_SATURATION
1> Device.obj:错误LNK2001:未解析的外部符号_HS_OBJECT_FORMAT_ABSTRACT_PULSE_OXIMETRY_READING
1> Device.obj:错误LNK2001:未解析的外部符号_HS_CONTENT_TYPE_PULSE_OXIMETRY_READING
1& gt; .. \Debug \Win32 \FabrikamGlucoseWpdDriver.dll:致命错误LNK1120:3个未解析的外部
请帮我清除此链接器相关问题。如果有任何上传血氧饱和度和心率的样本代码,请向我提供这些样本。
感谢和问候Rajendran Kumar
Hello,
The Microsoft Health Vault provides some DDK samples codes for uploading the measurements to the healthvault account. I took one of the sample project and just added the propertykey values for blood oxygen saturation and heartrate. During the time of bulding the project, an linker error was shown.
The lines which i added are,
pValues->SetGuidValue(WPD_OBJECT_CONTENT_TYPE, HS_CONTENT_TYPE_PULSE_OXIMETRY_READING);
pValues->SetGuidValue(WPD_OBJECT_FORMAT, HS_OBJECT_FORMAT_ABSTRACT_PULSE_OXIMETRY_READING);
pValues->SetUnsignedIntegerValue(HS_PULSE_OXIMETRY_BLOOD_OXYGEN_SATURATION, measurements[index].OxySaturation);
The Linker error which is displayed while bulding the project is
1>Device.obj : error LNK2001: unresolved external symbol _HS_PULSE_OXIMETRY_BLOOD_OXYGEN_SATURATION
1>Device.obj : error LNK2001: unresolved external symbol _HS_OBJECT_FORMAT_ABSTRACT_PULSE_OXIMETRY_READING
1>Device.obj : error LNK2001: unresolved external symbol _HS_CONTENT_TYPE_PULSE_OXIMETRY_READING
1>..\Debug\Win32\FabrikamGlucoseWpdDriver.dll : fatal error LNK1120: 3 unresolved externals
Please help me to clear this linker related issue. If there are any sample codes which uploads blood oxygen saturation and heart rate, please provide me with those samples.
Thanks and Regards Rajendran Kumar
这篇关于HealthVault DDK样本用于血液饱和度和心率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!