Boost logo

Boost :

Subject: Re: [boost] [filesystem, regex, asio] These three libraries successfully ported to Windows Phone 8.1
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-01-26 14:21:09


On 26 Jan 2015 at 18:34, Sebastian Redl wrote:

> > 1. Avoid #ifdef spam. Write thunk emulations of missing APIs where
> > possible. Here's an example for GetTickCount64():
> > https://github.com/boostorg/thread/blob/master/include/boost/thread/wi
> > n32/thread_primitives.hpp#L290. Remember Boost still supports Windows
> > XP and exclusively targets an XP level Win32 API. Use GetProcAddress
> > for newer APIs.
> That's not actually possible for WinPhone apps. You need a library
> handle to call GetProcAddress, and LoadLibrary(Ex) and GetModuleHandle
> are both forbidden to Store apps. Only LoadPackagedLibrary is allowed,
> and that is itself a Windows 8-only function (and in fact a Store-only
> function).

I am aware of that. I was referring to emulating Win8/Phone
functionality on WinXP. Sorry if I was unclear.

Niall

-- 
ned Productions Limited Consulting
http://www.nedproductions.biz/ 
http://ie.linkedin.com/in/nialldouglas/



Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk