Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralTrouble with List Control and Dialog Pin
Archer28230-Dec-04 19:03
Archer28230-Dec-04 19:03 
GeneralRe: Trouble with List Control and Dialog Pin
Michael Dunn30-Dec-04 19:22
sitebuilderMichael Dunn30-Dec-04 19:22 
GeneralRe: Trouble with List Control and Dialog Pin
Archer28230-Dec-04 19:45
Archer28230-Dec-04 19:45 
GeneralRe: Trouble with List Control and Dialog Pin
PJ Arends30-Dec-04 20:22
professionalPJ Arends30-Dec-04 20:22 
GeneralRe: Trouble with List Control and Dialog Pin
Archer28230-Dec-04 20:29
Archer28230-Dec-04 20:29 
GeneralConnection with Oracle database without using ODBC (but Using dll or lib)through VC++ Pin
M Qaisar Ch30-Dec-04 18:44
sussM Qaisar Ch30-Dec-04 18:44 
GeneralBurn CD "On the fly" Pin
Manu Philip30-Dec-04 18:21
Manu Philip30-Dec-04 18:21 
GeneralRe: Burn CD "On the fly" Pin
Henry miller3-Jan-05 9:33
Henry miller3-Jan-05 9:33 
I did something like this for backup software.

First, if you have a choice use DVD+R or DVD+RW for this, because they have the best support for preventing "underrun". In fact if you are using CDs, to be legal you must be sure that your datastream is always big enough to write data when the drive is ready! (even if you are not!) I break this rule all the time on a modern drive, without too many problems, but if you sell this you need to require that your customers have a drive with good underun protection.

Next, go to www.t10.org and buy the MMC standards. (you can download them too, but not the latest versions...) You might want to consider joining, depending on how technical your people are. t10 is the scsi standards orginization. Every CD writer that is faster than 4x is scsi! (it may be electrically IDE or USB, but it speaks the scsi standard, so that is what you care about). Read the standard several times until you think you understand it.

Now, figure out how to send SCSI commands on your os. On Windows NT/2000/XP it is a device_ioctl SCSI_PASSTHROUGH_DIRECT (or something like that). Windows 95/98/me uses something else. Unix is something different again, different for each unix.

Next you need to figure out what standard you will write data in. I don't know anything about the video CD standard, so I can't help you there. You can define your own format if you don't care about nothing else being able to read the disk.

If you want to write a file, then you can either figure out UDF (I didn't, but this is perhaps the right way to go), or you can write ISO-9660. ISO-9660 is most easially found under the name ECMA-119. Get the spec, and learn that inside and out. There is just one detail you need to know: reserve a track at the begining of the disk, then write data to the next track, when done you write your directory to the reserved track.

It took me about 4 months to write this myself (design through release). I had the advantage of a SCSI abstraction layer in place so I didn't need to worry about many of the details you will need to learn. Once you understand the standards and have a design the code is only a couple weeks, but it takes a while to figure out how to read all the standards.

Good luck. If you have any more questions let me know, but not until you have studied all the documents I listed above!

GeneralPreserve SPL/SHD in Print Processor Pin
RYU^^30-Dec-04 17:58
RYU^^30-Dec-04 17:58 
GeneralCOM port information Pin
vc-programmer-30-Dec-04 17:44
vc-programmer-30-Dec-04 17:44 
GeneralEvent Fire for Buttons created at Runtime Pin
Surya Prakash Adari30-Dec-04 17:30
Surya Prakash Adari30-Dec-04 17:30 
GeneralRe: Event Fire for Buttons created at Runtime Pin
ThatsAlok30-Dec-04 18:15
ThatsAlok30-Dec-04 18:15 
GeneralRunning exes from a MFC app Pin
SPARTAN-11730-Dec-04 17:22
SPARTAN-11730-Dec-04 17:22 
GeneralRe: Running exes from a MFC app Pin
ThatsAlok30-Dec-04 18:04
ThatsAlok30-Dec-04 18:04 
GeneralRe: Running exes from a MFC app Pin
Rahim Rattani30-Dec-04 18:11
Rahim Rattani30-Dec-04 18:11 
GeneralRe: Running exes from a MFC app Pin
SPARTAN-11731-Dec-04 15:24
SPARTAN-11731-Dec-04 15:24 
GeneralRe: Running exes from a MFC app Pin
Michael Dunn30-Dec-04 19:18
sitebuilderMichael Dunn30-Dec-04 19:18 
GeneralAbout OOP thread programming Pin
stans8030-Dec-04 15:32
stans8030-Dec-04 15:32 
Questiontemplate friend operator function ? Pin
anycallmy30-Dec-04 15:15
anycallmy30-Dec-04 15:15 
AnswerRe: template friend operator function ? Pin
toxcct31-Dec-04 4:43
toxcct31-Dec-04 4:43 
GeneralRe: template friend operator function ? Pin
anycallmy3-Jan-05 19:31
anycallmy3-Jan-05 19:31 
Generalevent driven programming Pin
monageasmear30-Dec-04 14:56
monageasmear30-Dec-04 14:56 
GeneralRe: event driven programming Pin
Selvam R30-Dec-04 21:33
professionalSelvam R30-Dec-04 21:33 
GeneralAlternative for ellipses(...) Pin
Anonymous30-Dec-04 13:05
Anonymous30-Dec-04 13:05 
GeneralRe: Alternative for ellipses(...) Pin
Michael Dunn30-Dec-04 14:08
sitebuilderMichael Dunn30-Dec-04 14:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.