[erlang-questions] Code mobility by message passing

M4rk1x <>
Sun Oct 30 10:51:39 CET 2011


has anybody ever run into the need of send a function using messages?

I wrote this code, which happens to work only if the server and the
client are compiled in same directory.
If i try to compile the client in another directory it'll work.
Load_library should send the code properly, in fact if i use the spawn
function it works, but i wouldn't want to use that.

http://pastebin.com/GBaXLqYp

Obviously, is not what i wish.
do you know what the problem could be?

thank you very much!



More information about the erlang-questions mailing list