A
aaronfude
Hi,
Perhaps this is slightly offtopic.
Coming into the Windows world from Unix.
Is there a reference on writing C++ libraries in a portable way.
For example, right now I'm sticking "__declspec(dllexport)" in front of
each of my classes. I guess I can still make it work on Unix bydefing
__declspec(x) to be an empty macro, but that's embarrassing.
Is there a better solution?
Many thanks in advance!
Aaron
Perhaps this is slightly offtopic.
Coming into the Windows world from Unix.
Is there a reference on writing C++ libraries in a portable way.
For example, right now I'm sticking "__declspec(dllexport)" in front of
each of my classes. I guess I can still make it work on Unix bydefing
__declspec(x) to be an empty macro, but that's embarrassing.
Is there a better solution?
Many thanks in advance!
Aaron