Mail Archives: djgpp/2000/02/21/22:03:27
dos DOT fire AT aon DOT at (Florian X) wrote in
<38b19ba7$0$30920 AT SSP1NO17 DOT highway DOT telekom DOT at>:
>This is the real file:
>
>void save_id3_tag()
>{
> FILE *id3_file;
> char tag[4];
>
> if (tag_avaiable == true)
> {
> id3_file = fopen(file, "r+"); // THIS works
>!!!!!!!!!!
[most of code snipped]
Sorry, but your example is still not complete. What type is file?
How did you initialize file?
Maybe, you can post some complete source code, that compiles to an
executable, and that shows the behaviour you reported.
Also, later in your example, there is
msgbox(MW_INFO, MB_OK, "%d",fprintf(id3_file, [...]
This seems to call the windows API function MessageBox (MB_OK and
MW_INFO are defined in some windows headers), that is
not available in stock DJGPP. Are you sure, you compiled with gcc
from djgpp?
Regards,
Dieter
- Raw text -