When mapwingis application is run from a directory where it doesn't have write permission, e.g. program Files in seven or vista when uac is enabled, or any other unwritable directory, then creating a shapefile that contains an attribute table is not possible. A temporary DBF file is created in the working directory but cannot be written. The getcwd function is used to get the working directory.
Mapwingis should either don't write a temporary attribute table, either write it to a real temporary directory, in appdata/local/temp or appdata/locallow/temp
Mapwingis should either don't write a temporary attribute table, either write it to a real temporary directory, in appdata/local/temp or appdata/locallow/temp