export entry point aliases lazarus / 67-Windows ---------------------------------------------------------------------- 440bx · 2022-09-29 21:41 Hello, It is somewhat common to see Windows DLLs that have multiple exported functions lead to the same piece of code, IOW, they all share the same entry point. I was wondering if it is possible to do that with FPC.  IOW, is it possible to assign multiple exported function names to an FPC written function or procedure ? if the answer is yes, then I'd like to know how it is done. Thank you for your help. ---------------------------------------------------------------------- avk · 2022-09-30 03:32 Maybe something like this? Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i library test; {$mode objfpc} function MyFun(c: Integer): Integer;begin  Result := c * 10;end; exports   MyFun,   MyFun name 'MySameFun',   MyFun name 'MyOtherSameFun';beginend. ---------------------------------------------------------------------- 440bx · 2022-09-30 04:32 Quote from: avk on September 30, 2022, 05:32:55 amMaybe something like this? Yes!  That's exactly what I was wondering how to do.  Great example too! Thank you very much @avk, much appreciated. ---------------------------------------------------------------------- avk · 2022-09-30 07:17 You are welcome.