Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DOS virtual disk Pin
David Crow15-Mar-10 3:13
David Crow15-Mar-10 3:13 
GeneralRe: DOS virtual disk Pin
Low_Level18-Mar-10 23:48
Low_Level18-Mar-10 23:48 
GeneralRe: DOS virtual disk Pin
Spawn@Melmac19-Mar-10 7:29
Spawn@Melmac19-Mar-10 7:29 
GeneralRe: DOS virtual disk Pin
Low_Level24-Mar-10 7:39
Low_Level24-Mar-10 7:39 
GeneralRe: DOS virtual disk Pin
Spawn@Melmac24-Mar-10 8:31
Spawn@Melmac24-Mar-10 8:31 
GeneralRe: DOS virtual disk Pin
Low_Level24-Mar-10 9:36
Low_Level24-Mar-10 9:36 
QuestionPGPDisk 6.02 - Compilation Errors Pin
Low_Level14-Mar-10 6:22
Low_Level14-Mar-10 6:22 
QuestionBoot manager functionality Pin
Low_Level14-Mar-10 6:05
Low_Level14-Mar-10 6:05 
Hi
I'm looking to write a boot manager in C/C++/Pascal,
much like Powerquest's PQBoot in the sense of the user's
being able to select a partition to boot from, then
(the application would) modify the MBR (I think) and
then the PC would reboot to the selected partition.


1. Programming background:

- I've had a bit of C/C++ programming experience,
but my Pascal skills are better.

- I'm not exactly familiar with Assembly language,
but if some Assembly code were to find its way
into a C/C++/Pascal wrapped function, using a
technique called 'inline Assembly' (I think) and
all parameters and/or function results were to be
passed in or returned in the hosting high level
language, that'll work Smile | :)


2. Wishes:

- I'd like for that utility to be able to work from:
+ MSDOS mode
+ Win98, WinXP (or later)
+ BootCD, where the user may select whether to boot
either from the CD or from the hard drive, assuming
there's a bootable primary partition there of course

- For any Win version or if run from a BootCD, my utility
would have to:

+ be able to run from within Win98, WinXP or later:
++ display all bootable partitions on PC's hard drive
++ reboot the PC to selected partition

+ be able to run from a BootCD:
++ allow user to select to continue booting from BootCD,
and if so, continue boot sequence off CD
++ allow user to select a bootable partition from hard drive
and if so, boot the PC to selected hard drive partition


3. Questions:

- Does it matter if the partition to boot from is
formatted on FAT16/FAT32/NTFS, or EXT2/3 f/Linux?

- Would I benefit from looking at code such as GAG
ot GRUB, or would there be any other, at least
somewhat high level (in terms of programming
language) types of source codes out there?

- Would I need some sort of an ISO image editor
or source code, in order to make an ISO for
a BootCD? If anyone should know of any freewares,
that'd be nice Smile | :)


So - any ideas on how to accomplish the above?
Thanks in advance
LL
QuestionFreeDOS Scandisk - Compilation Errors for C++ code Pin
Low_Level14-Mar-10 5:42
Low_Level14-Mar-10 5:42 
QuestionFreeDOS Defrag - Compilation Errors Pin
Low_Level14-Mar-10 5:40
Low_Level14-Mar-10 5:40 
QuestionScandisk or Defrag functionality Pin
Low_Level14-Mar-10 5:38
Low_Level14-Mar-10 5:38 
AnswerRe: Scandisk or Defrag functionality Pin
ThatsAlok14-Mar-10 19:19
ThatsAlok14-Mar-10 19:19 
GeneralRe: Scandisk or Defrag functionality Pin
Low_Level18-Mar-10 23:22
Low_Level18-Mar-10 23:22 
Questionthe dll and lib files in OpenCV Pin
Ahmed Ismail Mohamed14-Mar-10 5:36
Ahmed Ismail Mohamed14-Mar-10 5:36 
AnswerRe: the dll and lib files in OpenCV Pin
Tim Craig14-Mar-10 15:40
Tim Craig14-Mar-10 15:40 
GeneralRe: the dll and lib files in OpenCV Pin
Ahmed Ismail Mohamed15-Mar-10 9:27
Ahmed Ismail Mohamed15-Mar-10 9:27 
GeneralRe: the dll and lib files in OpenCV Pin
Tim Craig15-Mar-10 22:27
Tim Craig15-Mar-10 22:27 
QuestionTrueCrypt 6.3a - Compilation Errors Pin
Low_Level14-Mar-10 5:25
Low_Level14-Mar-10 5:25 
QuestionCMFCRibbonButton with custom width Pin
A&Ms13-Mar-10 19:45
A&Ms13-Mar-10 19:45 
AnswerRe: CMFCRibbonButton with custom width Pin
Eugen Podsypalnikov14-Mar-10 20:44
Eugen Podsypalnikov14-Mar-10 20:44 
QuestionRe: CMFCRibbonButton with custom width Pin
A&Ms15-Mar-10 8:01
A&Ms15-Mar-10 8:01 
QuestionGeneric stack library in c Pin
amitalonm13-Mar-10 14:12
amitalonm13-Mar-10 14:12 
AnswerRe: Generic stack library in c Pin
Nemanja Trifunovic13-Mar-10 14:44
Nemanja Trifunovic13-Mar-10 14:44 
AnswerRe: Generic stack library in c PinPopular
«_Superman_»13-Mar-10 17:04
professional«_Superman_»13-Mar-10 17:04 
AnswerRe: Generic stack library in c Pin
ThatsAlok14-Mar-10 19:20
ThatsAlok14-Mar-10 19:20 

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.