cronologic-de / xhptdc8_babel

Wrappers, Utilities and Examples for using the xHPTDC8 with various programming languages.
Mozilla Public License 2.0
0 stars 1 forks source link

Unify Driver and Dummy libraries #21

Open Bassem-Ramzy opened 3 years ago

Bassem-Ramzy commented 3 years ago

Conceptually, Dummy library should follow Driver library and simulate its behavior. Here are some points need to be unified between them to have consistent and standardized behaviors between from both.

1) We need to have one unified resource reference for both the Driver and Dummy Library in order to display the same messages for the same behavior from both libraries. And, when it's changed in one library, the other will have it automatically with its next build. For Dummy DLL, there is an initial idea to have message defined in xHPTDC8_RC.h

2) We need also to unify the source files naming: will it be xHPTDC8 or xhptdc8 in small letters for all

3) I renamed util DLL based on our discussion to have it of the same name "xhptdc8_util.dll" for both x86 & x64; and will apply it on all my outputs The question is: will we apply that on the driver as well? For standardization and consistency purpose. BTW, we can add to the file description that it's x86 or x64 to easily distinguish it (Properties->Details->File description) from "File Explorer".

Bassem-Ramzy commented 3 years ago

For 3.

Answer is no, we need to keep _64 in the name