Delete deprecated call to shared memories. Use I/O mechanism instead. Adjustement of dllimport and dllexport macros;