Editing DLL Sources and log to file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux