Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFile problem Pin
Ryan Binns7-Aug-03 13:30
Ryan Binns7-Aug-03 13:30 
QuestionHow to reset Timers Pin
gc_17-Aug-03 10:58
gc_17-Aug-03 10:58 
AnswerRe: How to reset Timers Pin
PJ Arends7-Aug-03 11:22
professionalPJ Arends7-Aug-03 11:22 
AnswerRe: How to reset Timers Pin
Jack_pt7-Aug-03 16:17
Jack_pt7-Aug-03 16:17 
AnswerRe: How to reset Timers Pin
Michael Dunn7-Aug-03 17:54
sitebuilderMichael Dunn7-Aug-03 17:54 
GeneralRe: How to reset Timers Pin
gc_18-Aug-03 9:02
gc_18-Aug-03 9:02 
GeneralAbsolute 0 - Boot Sector Pin
Like2Byte7-Aug-03 8:15
Like2Byte7-Aug-03 8:15 
GeneralRe: Absolute 0 - Boot Sector Pin
Nish Nishant7-Aug-03 8:24
sitebuilderNish Nishant7-Aug-03 8:24 
You can use CreateFile to open \\.\C: and then start redaing/writing. I guess by default it'd be at the beginning of the disk. If you want some working code see my CFloppyDisk class that uses this technique for floppy disks. This won't work on non-NT OSes like 98 and ME. For them you gotta use DeviceIoControl and access vwin32.vxd (this is also demonstrated in the class)

Good luck Smile | :)

Nish

p.s. the url you will need is http://www.codeproject.com/system/cfloppydisk.asp


Extending MFC Applications with the .NET Framework [NW] (My book with Tom)
Summer Love and Some more Cricket [NW] (My first novel)
Shog's review of SLASMC [NW]
Come with me if you want to live
GeneralRe: Absolute 0 - Boot Sector Pin
Like2Byte7-Aug-03 8:29
Like2Byte7-Aug-03 8:29 
GeneralRe: Absolute 0 - Boot Sector Pin
Nish Nishant7-Aug-03 8:32
sitebuilderNish Nishant7-Aug-03 8:32 
GeneralRe: Absolute 0 - Boot Sector Pin
Michael Dunn7-Aug-03 17:58
sitebuilderMichael Dunn7-Aug-03 17:58 
GeneralError Pin
Zak_7-Aug-03 7:50
Zak_7-Aug-03 7:50 
GeneralRe: Error Pin
Maximilien7-Aug-03 8:03
Maximilien7-Aug-03 8:03 
GeneralRe: Error Pin
Like2Byte7-Aug-03 8:27
Like2Byte7-Aug-03 8:27 
GeneralRe: Error Pin
Michael Dunn7-Aug-03 18:16
sitebuilderMichael Dunn7-Aug-03 18:16 
GeneralRe: Error Pin
Maximilien7-Aug-03 18:23
Maximilien7-Aug-03 18:23 
GeneralRe: Error Pin
Michael Dunn9-Aug-03 6:56
sitebuilderMichael Dunn9-Aug-03 6:56 
Questionprint preview ??? Pin
_skidrow_vn_7-Aug-03 7:23
_skidrow_vn_7-Aug-03 7:23 
GeneralProblem with CMenu Pin
Ph@ntom7-Aug-03 6:26
Ph@ntom7-Aug-03 6:26 
GeneralRe: Problem with CMenu Pin
Rage7-Aug-03 6:42
professionalRage7-Aug-03 6:42 
GeneralDesktop window Pin
Zak_7-Aug-03 5:13
Zak_7-Aug-03 5:13 
GeneralRe: Desktop window Pin
Ryan Binns7-Aug-03 5:19
Ryan Binns7-Aug-03 5:19 
GeneralSetDlgItemText problems Pin
keegan7-Aug-03 4:32
keegan7-Aug-03 4:32 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 4:45
Ryan Binns7-Aug-03 4:45 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 4:53
keegan7-Aug-03 4:53 

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.