Searching google for "filemaker call dll" I can see there are a few solutions. You'd use a solution that you'd find on google, and then use the C/C++ API as a reference for the functions you'd need to call. See: Using TurboActivate with C, C++, and Objective-C
So, it's doable.