www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/22/10:13:33

From: "Florian X" <dos DOT fire AT aon DOT at>
Newsgroups: comp.os.msdos.djgpp
References: <38b17e92$0$82782 AT SSP1NO17 DOT highway DOT telekom DOT at> <88s4mf$1lgb0$1 AT fu-berlin DOT de> <38b19ba7$0$30920 AT SSP1NO17 DOT highway DOT telekom DOT at> <88snrr$1mdk4$1 AT fu-berlin DOT de>
Subject: Re: append to a file
Date: Tue, 22 Feb 2000 14:38:06 +0100
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Lines: 41
Message-ID: <38b290c9$0$85200@SSP1NO17.highway.telekom.at>
NNTP-Posting-Host: 212.183.91.102
X-Trace: newsreader.vienna.highway.telekom.at 951226569 85200 212.183.91.102
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019