Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* A simple example */
- __declspec(dllexport) int Func(int num) __asm__("_Func@4");
- __declspec(dllexport) int Func(int num) {
- return num * 2;
- }
- /* Cannot export _Func@4: symbol not found
- collect2: ld returned 1 exit status */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement