Hi vphuoc,
I recently came back to this forum, and found your post dated 08 October 2017.
Sorry for the delay in posting this reply.
Well done for installing the toolbar that is used by RichardK's Open6022BE application
I hope that you have been able to get the software working with RAD Studio 10.
I do not yet have RAD Studio 10 installed on my system, but still do have RAD Studio XE5 with the toolbar installed.
I found it necessary to change the location of some functions used in many of the files, and other minor changes, to allow the software to be run on recent versions of RAD Studio.
I expect that RAD Studio 10 uses many of the same locations, but you may have to make some further changes to be compatible with the latest version of RAD Studio.
I have uploaded the relevant files to my Google Drive, in Project Folder Open6022BE, which I can share using the following link:
[https://drive.google.com/drive/folders/1aYO-X1H_NoxOGMABAaSiH9iJ35ARUrc6?usp=sharing]
The 141 files uploaded include the following PDF file, which has a listing of the relevant files:
Open6022BE Contents 2018-01-03.pdf
The file names listed are the ones included in the archive Open6022be_src_codegear_radstudio_cpp.zip, that was included in the file Open6022BE.rar.
A link to Open6022BE.rar was posted by murgui in Reply #1019 earlier in this thread topic.
I have included 3 new files:
ExportCSVFile.cpp
ExportCSVFile.dfm
ExportCSVFile.h
These support the only additional feature, which allows oscilloscope traces to be saved as a .CSV file.
The CSV file can then be loaded into Excel (spreadsheet) for further processing.
This was the only feature that I added, in order to confirm that I could amend the program if necessary.
However, my C++ skills and knowledge of RichardK's application are not sufficient to allow me to make more ambitious changes. Also, I do not claim that the changes I have made are good or bug-free, but I hope that they will be useful.
The files that I have changed can easily be identified, because they have modified Dates of 2016 or later.
The original files have modified dates of 2014 or earlier.
The files in the project folder have dates that are 1 hour earlier than listed in the archive Open6022BE (I assume because of a Time Zone difference).
The executable files (both named Hantek_6022BE.exe) appear in the Debug and Release subfolders.
I can confirm that the program compiles without warnings or errors in RAD Studio XE5.
I hope that you will find these files helpful if you still have difficulties getting the application working under RAD Studio 10.
Please let me know how you get on with this project.
techoisseur