[ODE] Why no __declspec(dllexport)

gl gl at ntlworld.com
Tue Apr 27 14:22:03 MST 2004


> It strikes me as another attempt by Microsoft to provide a non-standard
> way of doing something, to make it harder for people to support both
> Windows & other platforms.  When you're the biggest platform, this helps
> you and hurts others.  But maybe it was well intentioned mechanism that
> in retrospect has some big disadvantages.

Sigh.  It's useful.  You can apply it to everything - eg. an entire class,
or just some select members (as well as global variables/functions).

I've never done it, but I believe the alternative is to manually compile
(and manually maintain) a .def file?  If so, I'm glad it's there.
--
gl



More information about the ODE mailing list