Skip to content

Instantly share code, notes, and snippets.

@bit-hack
Created November 9, 2018 17:16
Show Gist options
  • Save bit-hack/397e7c158ecf46c51abcb5518b22ee69 to your computer and use it in GitHub Desktop.
Save bit-hack/397e7c158ecf46c51abcb5518b22ee69 to your computer and use it in GitHub Desktop.
extern "C" void test();
#pragma comment(linker, "/alternatename:_test=??0CppLibraryClass@@QAE@XZ")
test(); // will call mangled name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment