[erlang-questions] Does ei_connect on windows work?

Andrew Thompson <>
Fri Jun 12 01:25:00 CEST 2009


Just to reply to myself one more time. I finally managed to understand
the MSDN docs, they say that if the code has any possibility of being
loaded as a .dll you should use the TLS API instead of the __declspec
stuff. I believe the end result is the same, it's just less code to do
it the __declspec way. Currently the default is to do it the __declspec
way, which effectively prevents anyone linking ei into a .dll on windows
without doing a recompile without that enabled.

Is there any chance of changing the defaults so that the windows
releases are compiled in a way that lets people use ei in a .dll on
windows?

Andrew


More information about the erlang-questions mailing list