@adahl

However when I tried to run it I get a complaint the file samba_conn_serial.dll could not be loaded, although the error message showed the complete path to that file and it was actually at that place. At first sight this seems very strange to me.

Such errors could mean, that the DLL has own dependencies that are not satisfied. Dependency Walker is the tool of choice to debug that.

Regardd