Hello,
I am currently creating a custom module with Audio Weaver. I am trying to implement the core logic in an external static library (.lib). When I call functions from this library, the audioWeaver .lib file compiles successfully in Visual Studio, but the DLL does not. Is there a way to actually be able to use external libraries in custom modules?
Here are the two error messages I got after compiling the DLL in VS:
LNK1120 1 unresolved external
LNK2001 unresolved external symbol __except_handler4_common
Thanks in advance for your answer.
Best,
Quentin
11:46am
Hello Quentin,
Yes, you can use external libraries in custom modules.
You'll have to modify the Visual Studio solution to link in the 3rd party libraries and then include the necessary files to access the library.
Thanks,
Kevin
10:46am
Thanks for your answer Kevin.
I actually managed to include an external library written in C. Would it be possible to do the same but using an external library written in C++ instead of C?
7:07pm
Hello Quentin,
Yes, we can link to a C++ library. If the C++ library does not export its API as extern C then you need to write a C++ file and create your own C API that calls the libraries C++ methods.
Thanks,
Kevin