I'm exporting some functions from a dll, and in some functions as a parameter I'm using enum, declaring in the dll project. What is a proper for the projects that will use this dll to find out about this enum, if they will use dll via explicit linking with LoadLibarary/GetProcAddress functions?
In implicit linking it seems easy, I just include this enum when including dll's headers.
Is in case of explicit linking I still need to include my dll's header with enum to the project that will use the dll?
Aucun commentaire:
Enregistrer un commentaire