You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a version of msgpack.dll to include in a LabVIEW VI but there only appear to be 33 functions which are prefaced with the MSGPACK_DLLEXPORT keyword. This is my first time using a DLL, so my understanding may be flawed.
My question is two-fold;
Am I doing something wrong?
How can I access functions such as msgpack_sbuffer_init, msgpack_packer_init and any of the msgpack_pack_xxx functions without having to modify the msgpack source?
Regards, John
The text was updated successfully, but these errors were encountered:
How can I access functions such as msgpack_sbuffer_init, msgpack_packer_init and any of the msgpack_pack_xxx functions without having to modify the msgpack source?
Thanks for the quick reply @redboltz.
It would seem that my problems lie in importing the DLL to LabVIEW. I guess I'll need to manually create the references from within LabVIEW to use the inline functions.
Just in case anyone else encounters the same problem. I solve the LabVIEW problem by writing a C wrapper around the static __inline functions to export them.
I'm trying to create a version of msgpack.dll to include in a LabVIEW VI but there only appear to be 33 functions which are prefaced with the MSGPACK_DLLEXPORT keyword. This is my first time using a DLL, so my understanding may be flawed.
My question is two-fold;
Regards, John
The text was updated successfully, but these errors were encountered: