I am attempting to call a simple function that is stored in a simple dylib file, from a simple Word for Mac macro,
I\'m creating the .dylib with Xcode5 on OS-X Mountain
Rather than looking up the mangled name, I suspect the easiest way is to wrap your function declarations:
extern "C" {
bool testFunc();
}
Success! (ugh, it was there the whole time?)
This tutorial succinctly covers the basics of calling .dylib functions from VBA.
Just be sure to install Xcode Command-Line Tools so that you can use the nm command to get the symbols from your library.