Boost logo

Boost Users :

Subject: [Boost-users] storing functions obtained with boost.dll as class fields
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2018-07-29 13:52:47


I'm in the process of converting a project being compiled with msvc 2017 to use boost.dll.

I've got a shared library loading and need to obtain and store a function in a class-level field.

The function has the following typedef:
typedef error_status_t (WINAPI *nvdaControllerTestIfRunningFunc)(void);
I think my main issue is what shared_libary.Get<t> returns.
Any help appreciated.
Kind regards

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at