metinkocadag2003 0 Posted January 7, 2020 I want to use a DLL in my project. But I have no documentation about the DLL file. When I open the DLL file by RAD Studio XE5, I can see the function names. Does anybody help me how I can use these functions ? Share this post Link to post
Lars Fosdal 1792 Posted January 7, 2020 Without documentation about the parameters of these functions and their types, you will be unlikely to succeed. 1 Share this post Link to post
metinkocadag2003 0 Posted January 7, 2020 Thank you for your reply. I have a demo program written by Visual Studio which uses that DLL. But I have no experience about Visual Studio. If someone knows VS and Delphi both, at that time is it possible to convert DLL functions to RAD Studio easily ? Share this post Link to post
David Heffernan 2345 Posted January 7, 2020 (edited) If you have a demo program written in C or C++ then it is easy enough to translate to Delphi. But you'll want to learn some basic C or C++ in order to do so. Edited January 7, 2020 by David Heffernan 1 Share this post Link to post
stijnsanders 35 Posted January 7, 2020 If the Visual Studio project has a .h file with the same function declarations as the DLL, you should try Dr Bob's HeadConv or a more modern alternative if you can find one. 1 Share this post Link to post
David Heffernan 2345 Posted January 8, 2020 Automatic header convertors tend not to be very effective in my experience. Don't expect to be able to get a working import unit without human intervention. 2 Share this post Link to post
metinkocadag2003 0 Posted January 8, 2020 (edited) David Heffernan, stijnsanders, Lars Fosdal ,You took the time and answered. Thank you all. Edited January 8, 2020 by metinkocadag2003 Share this post Link to post