Advertisement
Guest User

Untitled

a guest
May 11th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. /// library sample code, which makes use of the logging feature
  2. library MyLibrary;
  3.  
  4. {
  5. In the Project / Options / Linker tab, the Map files option should be set
  6. to detailed, in order to demonstrate how libraries can have their own
  7. symbols file (we need a .map to have this information and create its .mab)
  8.  
  9. }
  10. uses
  11. SysUtils;
  12.  
  13. {$R *.res}
  14.  
  15.  
  16. procedure Test;
  17. begin
  18. //TSynLog.Enter.Log(sllDebug, 'Called from Test exported procedure');
  19. raise Exception.Create('Error Message');
  20. end;
  21.  
  22. exports Test;
  23.  
  24. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement