Development and Use of Dynamic Link Libraries Generated Under Various Calling Conventions

2021 
Dynamic-link libraries are mainly used to extend the functionalities of the applications, decrease the use of memory, and disk space since it allows the reuse of code and procedures, sharing their access between multiple processes, applications, threads, or services. In this work, the coding of dynamic-link libraries and their generation under different calling conventions (stdcall, cdecl, and fastcall) are presented. The entire process is focused on 32-bits Windows operating systems, with TDM-GCC like the compiler and CodeLite like the IDE.Compared to using 64-bit libraries, there are many implementation and usage issues with 32-bit libraries, issues that this study address. An experimental result is presented in which a dynamic link library is created that is imported and used to give access to the data obtained from a RPLIDAR A1M8-R2 radar. The entire process of generating and using libraries in programming languages C, C++, Java, Python, C#, and VisualBasic is documented. The experimental result was carried out using Visual C++, Matlab 2015B, Unity 5.6.7f1, and Python.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    4
    References
    0
    Citations
    NaN
    KQI
    []