Quote:
Originally Posted by agraham
If you can't [compile for device] then I suspect you have removed ControlsExDeviceDummy from the desktop instead of ControlsExDesktop. The optimising compiler assumes that the structure of the desktop and device libraries are identical and uses the structure it derives from the desktop library when it compiles. This is why a "dummy" desktop library is required when functionality is required in a device library that is not present on the desktop. The dummy desktop library looks like the device library but the functionality missing on the desktop is implemented as do-nothing code.
|
Thanks for that explanation, I now understand why the same project cannot be recompiled for device as for desktop, and how to tweak it between the two.
Off-topic, I tried to use a TrackBar (partly because the code already uses one as a volume control) to follow the playing of a music file and allow the user to move the playing point. But I find that the _ValueChanged call-back is triggered each time the program adjusts the pointer to follow progress, generating a double alteration (very audibly). If I used a scroll-bar instead, would this be avoided? (In other words, _ValueChanged reacts only to user action.)
Cheers, Mike.