Advertisement
Guest User

JP

a guest
Nov 10th, 2009
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. /* A simple example */
  2.  
  3. __declspec(dllexport) int Func(int num) __asm__("_Func@4");
  4.  
  5. __declspec(dllexport) int Func(int num) {
  6.    return num * 2;
  7. }
  8.  
  9. /* Cannot export _Func@4: symbol not found
  10.    collect2: ld returned 1 exit status */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement