2009-09-30 00:39:43 +04:00
|
|
|
extern int __declspec(dllimport) example_dll_function(void);
|
2012-04-02 18:40:13 +04:00
|
|
|
extern int __declspec(dllimport) example_dll_gen_function(void);
|
2009-10-05 22:39:23 +04:00
|
|
|
#ifdef EXAMPLE_DLL_2
|
2009-09-30 00:39:43 +04:00
|
|
|
extern int __declspec(dllimport) example_dll_2_function(void);
|
|
|
|
#endif
|
|
|
|
int example_exe_function(void) { return 0; }
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
return
|
|
|
|
example_dll_function() +
|
2012-04-02 18:40:13 +04:00
|
|
|
example_dll_gen_function() +
|
2009-10-05 22:39:23 +04:00
|
|
|
#ifdef EXAMPLE_DLL_2
|
2009-09-30 00:39:43 +04:00
|
|
|
example_dll_2_function() +
|
|
|
|
#endif
|
|
|
|
example_exe_function();
|
|
|
|
}
|