storing functions obtained with boost.dll as class fields

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

storing functions obtained with boost.dll as class fields

Boost - Users mailing list

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 mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users