Let\'s say I have a very simple native dll with name MyNativeDll that contains such a method:
MyNativeDll
extern "C" { int foo() { return 777; } }