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():
> >
> > 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.


ned Productions Limited Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at