I have the following static function:
static inline HandVal StdDeck_StdRules_EVAL_N( StdDeck_CardMask cards, int n_cards )
Ca
You may not export that function from a DLL. static functions are equivalent to private to that file.
You can create a method in the file that calls it and export that.