Delphi5 Console App

Is there a way to create a console app with graphics *like* Windows and that starts up at boot-up? Preferably writing to the MBR to do this...Any sample code or web site direction would be very helpful. Thanks!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

start at boot-up:
put path+exeName in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

Why console app with windows and not normal Delphi project with windows?

You could use a COM object from your console app with a form and a showModal property or something. This is possible.

For which purpose do you need that? Do you want to make a boot manager? Or what?
listening..but dont think this can be done using delphi.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

listening, too... #;-|
Do *NOT* do this in the MBR. (You can't run Windows apps from it, and you'll probably !@#$%^&* it up trying to)

Ever noticed that windows has a _LOT_ of places to start things at boot-up? Just take a look in the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run + RunServices
and there is also a section in some INI file (I believe SYSTEM.INI).
And why does it need to be a console app? (You CAN completely hide a normal Windows app; You CAN'T do that with a console)

(I already didn't get why Blender starts as a console application and then opens a Window. Hmmmmm....)
swhitlowAuthor Commented:
This would be a boot manager. It needs to have a "graphical" type interface. I was wondering if Delphi could handle this or if I needed to go to C++. I'm sorry about my terminology, I guess I shouldn't say "console" app. Really, it would run strictly on bootup as a boot manager. Thanks!
I don't think you can do that. Delphi5 is a 32bit compiler and you wont be able to compile code that can run in the context of the boot state.
You may have more luck with D1 to do this, but I think it will be very difficult to it with Delphi. Anyway, Delphi is not suited for this kind of applications in general - I suggest that you pick another compiler...

c or asm i suggest would be best for this,probably asm ,
maybe you should see ranishes boot manager as it comes with full source code ( asm ) this could help to give you pointers on coding it.:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
swhitlowAuthor Commented:
Thanks for the web site! It was exactly what I was looking for!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.