I've tried to edit few DLLs in wine, inserting my own piece of code to C source and I have a small problem. After compiling everything is OK.I've added: Code: void _log(res1,res2) { ... } Problem is when _log try to write data to file: Code: fopen("log.bin","ab");//Write binary, append after write file is never created... so I'm a little confused... More problems is where file will be writed (logical for me will be current exe directory bun I'm not so sure). Has anybody do such a thing? Any comments will be very helpful
xamael wrote:> I've tried to edit few DLLs in wine, inserting my own piece of code > > Code: > > fopen("log.bin","ab");//Write binary, append > > >Don't do that. If you must log something, use Wine's debug output functions: TRACE, ERR, WARN, and FIXME.