skyhookwireless has a library for accessing its cell tower/wifi hotspot databases for geolocation. sdk is available for numerous platforms, among which, windows mobile.
the 3 files of interest are: wpsapi.lib,wpsapi.dll and wpsapi.h. the .dll goes on the device, the .lib is used by polink and goes in the pellesc\lib\wince sub-directory, the .h goes in with the project.
a test app - compiled by skyhookwireless - is included with the sdk. copy it to the device, and it runs perfectly, so presumably i've got the correct .dll, at least.
when i build my project, now using wpsapi.lib, i get the following error:
polink: fatal error: invalid machine type in object wpsapi.dll error 1
1) the project has been built and rebuilt (on the desktop), and the app run and rerun (on the device) hundreds of times, so building is targeted correctly.
2) the only new wrinkle is the skyhookwireless library. there are basically only 2 hooks, and they fit in place fine (at least as far as the compile is concerned.)
3) so how does polink know there is an invalid machine type in object wpsapi.dll? that object is not on the desktop. what does it think it's looking at? (and, yes, i have built the project when the .dll was still on the desktop after downloading the sdk. i get the same error either way.)
4) besides, the .dll works on the device, so what invalid machine type are we talking about?
5) i'm guessing polink is trying to tell me something, but i don't think it actually has to do with an invalid machine type in the .dll..
thanks for any thoughts.
-george ott