Mail Archives: djgpp/2000/02/22/10:13:33
void save_id3_tag(char *file)
{
FILE *id3_file;
char tag[4];
if (tag_avaiable == true)
{
id3_file = fopen(file, "r+"); // THIS
works!!!!!!!!!!
>Sorry, but your example is still not complete. What type is file?
>How did you initialize file?
This isn't the problem.
>
>Maybe, you can post some complete source code, that compiles to an
>executable, and that shows the behaviour you reported.
It is too much, sorry.
>
>Also, later in your example, there is
>
> msgbox(MW_INFO, MB_OK, "%d",fprintf(id3_file, [...]
>
This call a dialog box in SEAL (GUI for DOS)
>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?
Yes.
Thanks, Florian X
- Raw text -