The gamebase that calls the error function lies within the export: ?Write_LogFile@@YAXPBD0@Z = gamebase+0x1ED0 Actuall it is a fwrite() that causes the gpf while read @0, which is usually caused by non-file (fopen(,"ab") returned NULL). That in mind: Does the user have rights to create/write files in the "logs" subfolder? And does the "ab" rights in wine work correctly?