🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3157

File work and cominations

#3157
From: dsfrobots
Date: Sat, 26 Aug 2006 16:52
19 lines
1946 bytes
Hello, I have a program that utilizes an audio file (such as
mp3,wav,etc..) along with some important data in my own file .dat to
create an output for a customer.

What I need to do here is take the audio file, and my dat file and
combine them together into 1 easy .abc file so that the custmer can
take this file where they want as 1 file.  Therefore the audio file and
dat file will still be intact inside this .abc file for extraction when
needed to open again.

Obviously then my program would need to also open the .abc file,
seperate the mp3 file from the dat file.

Can anyone help me!?

I'm trying to use fstream to open the mp3 file and copy it to a buffer,
then open my dat file copy to buffer and combine, save to file abc..

Will this work?  I can't seem to get the coding right, help please! :)
Technical Details
Message-ID: <1156611123.920882.269880@m79g2000cwm.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d65334484469afb1,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m79g2000cwm.googlegroups.com!not-for-mail
From: "dsfrobots" <support@dsfrobots.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: File work and cominations
Date: 26 Aug 2006 09:52:03 -0700
Organization: http://groups.google.com
Lines: 20
Message-ID: <1156611123.920882.269880@m79g2000cwm.googlegroups.com>
NNTP-Posting-Host: 74.132.71.212
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1156611129 8971 127.0.0.1 (26 Aug 2006 16:52:09 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 26 Aug 2006 16:52:09 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; {DAB35B4B-34E3-A35B-5BD0-ACAB4BB98C1F}; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: m79g2000cwm.googlegroups.com; posting-host=74.132.71.212;
   posting-account=m1-BZQ0AAACO1lojf6ryEJUGuPUoTSnQ