__declspec(dllexport) int MODULE_CCONV example_mod_1_function(int n)
{
  return
    example_dll_function() +
#ifdef EXAMPLE_DLL_2
    example_dll_2_function() +
#endif
    example_exe_function() + n;
}
Exemple #2
0
int main(void)
{
  return
    example_dll_function() +
    example_dll_gen_function() +
#ifdef EXAMPLE_DLL_2
    example_dll_2_function() +
#endif
    example_exe_function();
}