I tried to use OgrDataSource ImportShapefile. I implemented the example found in Mapwindow link. The result is that points are integrated but not linestrings. Layer is created but is empty. There is no invalid geometry in the file. I'm using the very last version of Mapwingis from github.