Very interesting, agree, I never tried to include this more than once! Feeling it is not a big deal to change definitions.elore wrote:It happens if you include "enigma_ide.h" more than once in the project. In examples you include it only one time.
I think it is better for your project (since it is unicode and seems you do not make support for Win9x) to use unicode version of this API, EP_RegHardwareIDW and also enable Unicode style for licensing in Registration Features - Common panel.elore wrote:And to do that I need correct version of EP_RegHardwareIDA(), which is not working for me now.
Really, there is no difference what kind of EP_RegHardwareID function you will use. All of them, always, return same results, only difference that W - returns wide string, A - ansi string. The function without prefix EP_RegHardwareID is the same as ansi kind, and it was made just for compatibility with previous versions.
