×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Running DOS Programs in C++Builder3

Running DOS Programs in C++Builder3

Running DOS Programs in C++Builder3

(OP)
Hello everybody

I am running a DOS program within a C++Builder program - GZIP to unzip a bunch of SCO Unix compressed files. Following a recent thread in VB, I execute GZIP via a BAT file. My problem is that 'Close on exit' works fine but run in a Minimized Window is ignored - any suggestions would be gratefully received. Is there a way of hiding the DOS window completely?

Also I have suddenly started to get 'Runtime error 216'
when closing the IDE. It does not appear to depend on what programs I have opened/run.

Regards

Roy Thomas

RE: Running DOS Programs in C++Builder3

Royt,

I don't know if this will help you or not but there is a FAQ at www.bcbdev.com . One talks about starting a program minimized and another about hiding a program. What I don't know is if these will apply to your DOS window or not. But give it a try.

James P. Cottingham
main@ivcusa.com
International Veneer Co., Inc.
All opinions are mine alone and do not necessarily reflect those of my employer.

RE: Running DOS Programs in C++Builder3

(OP)
Thanks James,

I am now downloading the faqs.

There is an faq at Borland, but it hides the window application, which I don't want.

w.r.t. 'Runtime error 216' there is a fix in the Borland faqs which works fine.

Regards

Roy Thomas

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close