http://bugs.winehq.org/show_bug.cgi?id=3613
------- Additional Comments From freddiewitherden@hotmail.com 2005-18-10 16:30 ------- When I ran the program I went to cd .wine/drive_c/My\ Documents and then ran the program. Is the .wine folder in need of a bit of 'chmod -R .wine 0777' treatment? When it tries to write to a temp file where is it trying to write it to? drive_c or / (unix)? Well since there seem to be problems with tmpfile() (so much for ANSI...) I will just use something like FILE *tmpfile = fopen("cryptlite.tmp", "wb+"); and then after I 'fclose (tmpfile) I will do a remove("cryptlite.tmp");, makes the code look ugly but if I want it to work on Windows then I guess that it is something I will need to do.