Article View: borland.public.cppbuilder.nativeapi
Article #15346Re: Writing a file
From: mehendis
Date: Sun, 06 Jul 2003 17:52
Date: Sun, 06 Jul 2003 17:52
12 lines
1591 bytes
1591 bytes
Would you elaborate your project please? Do you want to open a bmp file and get it to your file? If so, you can use fopen, fwrite, fread, fclose functions.Open a new file with fopen "wb" parameter.Then write info with fwrite and/or fputc then read bmp file character by character with fgetc and/or fwrite.Then write other info.Close file.That's it. mehendis "b" <borland.public.cppbuilder.vcl.components.using> wrote: >I would to write a file, it'll be coumponded by some structures, it'll >countain in the head part some information after it'll countain a bitmap >image and at the end other informations... >how could i get the bitmap part and save it in a real Bitmap image? > >
Technical Details
Message-ID:
<3f0861eb$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f07fb09$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4d35d82d9430667c X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-06 10:58:53 PST From: "mehendis" <mehendis@hotmail.com> Sender: "mehendis" <mehendis@hotmail.com> Reply-To: "mehendis" <mehendis@hotmail.com> Subject: Re: Writing a file Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 217.131.5.153 217.131.5.153 X-Forwarded-For: 217.131.92.104 References: <3f07fb09$1@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f0861eb$1@newsgroups.borland.com> Date: 6 Jul 2003 10:52:43 -0700 X-Trace: newsgroups.borland.com 1057513963 207.105.83.65 (6 Jul 2003 10:52:43 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail