ShowMessage in library will not compile! lazarus / 31-LCL ---------------------------------------------------------------------- GolfCat · 2015-04-13 20:48 When converting a simple library from Delphi to Lazarus, something goes wrong with ShowMessage and the library will not compile. Code: [Select]library SimpleMessageDLL; {$MODE Delphi} uses   SysUtils,   Dialogs,   Classes; {$R *.res} procedure DllMessage; export; begin  ShowMessage('Hello world from a Delphi DLL'); end; exports DllMessage; end. ---------------------------------------------------------------------- Fred vS · 2015-04-13 21:16 Hello. I am not sure if it is possible to export LCL graphic procedures (ShowMessage is graphic). But i am sure it is possible to do it with fpGUI => http://forum.lazarus.freepascal.org/index.php/topic,27130.msg167492.ht ml Fre;D ---------------------------------------------------------------------- ChrisF · 2015-04-13 21:49 http://forum.lazarus.freepascal.org/index.php/topic,9385.msg45939.html #msg45939