سلام
من مدتي صبر كردم ببينم آيا كسي پاسخ خواهد داد كه من هم استفاده كنم چون من هم قبلا با همين مساله مواجه بودم ولي نتوانستم پاسخ آن را پيدا كنم. در راهنماي سي بيلدر متن زير را پيدا كردم ببينيد آيا مشكلي از شما را حل مي كند. (البته شايد خودتان نيز اين متن را ديده باشيد)
DevGuide: Programming with C++Builder
Using DLLs in C++Builder
Topic groups
A Windows DLL can be used in a C++Builder application just as it would be in any C++ application.
To statically load a DLL when your C++Builder application is loaded, link the import library file for that DLL into your C++Builder application at link time. To add an import library to a C++Builder application, open the make file (.BPR) for the application and add the import library name to the library file list assigned to the ALLLIB variable. If necessary, add the path of the import library to the path(s) listed for the -L option of LFLAGS (linker options) variable.
The exported functions of that DLL then become available for use by your application. Prototype the DLL functions your application uses with the __declspec (dllimport) modifier:
__declspec(dllimport) return_type imported_function_name(parameters);
To dynamically load a DLL during the run of a C++Builder application, include the import library, just as you would for static loading, and set the delay load linker option on the Project|Options|Advanced Linker tab. You can also use the Windows API function LoadLibrary() to load the DLL, then use the API function GetProcAddress() to obtain pointers to the individual functions you want to use.
Additional information on using DLLs can be found in the Microsoft¨ Win32 SDK Reference.