Sunday 15 September 2013

c++ - Issues with urlmon.h in Windows Phone Silverlight 8.1 Runtime Component -



c++ - Issues with urlmon.h in Windows Phone Silverlight 8.1 Runtime Component -

i want phone call urlmksetsessionoption method urlmon library in windows phone silverlight 8.1 application modify browser's user agent string.

apparently windows phone silverlight doesn't back upwards pinvoke, have create runtime component instead phone call native c++ method. visual studio 2013 solution looks this:

1) windows runtime component (windows phone silverlight 8.1) project

2) windows phone silverlight 8.1 project

project 2 has reference added project 1

if compile solution sample "return int" c++ method works fine. however, when #include urlmon.h vs not recognize urlmksetsessionoption method (please see image below). if open urlmon.h file there, somehow vs ignores it.

could please point me in right direction solve issue? how should phone call urlmon.h in silverlight phone app?

image: https://dl.dropboxusercontent.com/u/90478853/perm/urlmon.png

urlmksetsessionoption not supported in windows phone or windows desktop store, no point trying it. can seek utilize linking urlmon.dll , run locally certification fail.

c++ silverlight visual-studio-2013 windows-phone-8.1 urlmon

No comments:

Post a Comment