Easy points

How to change the partiotion of hard disk.
LVL 3
f15iafAsked:
Who is Participating?
 
Mohammed NasmanSoftware DeveloperCommented:
What do you mean?
can you explain plz?
0
 
f15iafAuthor Commented:
harddisk are devided to 2 or more drives with specific size i want to control the size of drives and the quantity of the drives.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
AleqCommented:
Easy? In Delphi? Almost impossible question!! Raise to 20000 points and wait :)
If not in delphi, try PowerQuest Partition Magic.
0
 
Mohammed NasmanSoftware DeveloperCommented:
same like fdisk?
0
 
f15iafAuthor Commented:
To mnasman:Exactly

To aleq:I know the program i want to do it bymyself
0
 
f15iafAuthor Commented:
To mnasman:Exactly

To aleq:I know the program i want to do it bymyself
0
 
Mohammed NasmanSoftware DeveloperCommented:
I think Aleg right
you can't do that with delphi, you need to do that with assembly :)
0
 
f15iafAuthor Commented:
I heard of direct access to hd with vwin32.vxd but where to make changes.

You cannot perform dos interupts in windows but with vwin32.vxd.You can find it in windows sdk help file
0
 
GwenaCommented:
Putting thousands of programming hours into something like
this would be a classic case of re-inventing the wheel :-)

Use partition Magic....

If you wrote a program like this in delphi and distributed it to others
you would never ever see an end to complaints like
"I used your program and now my HD is unreadable..you @#$%^&"

:-)
0
 
intheCommented:
hi,
there are plenty of examples around for actually getting some access using VWIN32 (note this is win9* only) but actually changing anything ... no way ;-)

search googles news archives for "delphi \\.\VWIN32" without quotes.
0
 
MadshiCommented:
Here comes the solution for win9x, but use it at your own risk (!!!!!). And please don't ask me to convert that stuff to Delphi. It's surely possible, but I don't have the time for that...

http://www.alkor.ru/~00077500/kb/w32mbr.htm

Regards, Madshi.

P.S: In winNT everything is much easier, there you can just use CreateFile to open a physical drive and then ReadFile/WriteFile. You can then read the drive sectors as if it would be a normal file...
0
 
f15iafAuthor Commented:
OK right now i have direct access to hd where and what to write to change the partition.
0
All Courses

From novice to tech pro — start learning today.