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


Hi,

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
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net