Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Simple Program Laucher Which Runs Off Of Cd

Reply
Thread Tools

Simple Program Laucher Which Runs Off Of Cd

 
 
javaBeginner
Guest
Posts: n/a
 
      07-02-2003
I need to create a simple program launcher which runs off of cd and
launches
a program off of the cd. It must also check the values in an ini
file.
The launcher program must run on all versions of Windows.

I have read that C++ and Delphi are the only two languages which could
reliably accomplish this task. I have tried Delphi and it worked well
but my employer does not want to pay Borland's license fee.

I know nothing about C++ but I am familiar with Java.

Does anyone have sample C++ code which shows how to create a single
windows form with buttons on it? I also need sample code for
launching applications and for reading an ini file.

Does anyone know of any IDEs (besides Borland C++) or languages which
could help me accomplish this task?

Any comments would be greatly appreciated. Thanks.
 
Reply With Quote
 
 
 
 
Howard
Guest
Posts: n/a
 
      07-03-2003

"javaBeginner" <> wrote in message
news: om...
> I have read that C++ and Delphi are the only two languages which could
> reliably accomplish this task. I have tried Delphi and it worked well
> but my employer does not want to pay Borland's license fee.


What Borland license fee? If you've paid for the Delphi compiler (any
version except the free one), then you don't have to pay Borland anything to
be able sell your product, as long as you aren't distributing their source
code or any license-restricted server technologies (like MIDAS used to be).
You might want to check that license agreement again.

-Howard


 
Reply With Quote
 
 
 
 
Michiel Salters
Guest
Posts: n/a
 
      07-04-2003
(javaBeginner) wrote in message news:<. com>...
> I need to create a simple program launcher which runs off of cd and
> launches a program off of the cd. It must also check the values
> in an ini file. The launcher program must run on all versions of Windows.


That's going to be hard, the 16-bit versions of Windows work quite
differently. You need a really old Windows 3.11 vintage compiler.
It's a lot easier if you restrict youself to Win32 (ie Win95 and later)

> I have read that C++ and Delphi are the only two languages which could
> reliably accomplish this task. I have tried Delphi and it worked well
> but my employer does not want to pay Borland's license fee.


Give up. Any other language is going to be as expensive, C++ included,
once development costs are included. Even a day's worth of salary is
likely to cost more.

> Does anyone have sample C++ code which shows how to create a single
> windows form with buttons on it? I also need sample code for
> launching applications and for reading an ini file.


C++ isn't where your problem is. Any book on Borland C++ explains
how to do it with Borland, any Visual C++ book explains how to do
this with Microsoft. It's not possible in standard C++, although
a simple text interface would be possible. In that case any
standard C++ book (ie without "Borland" or "Visual" or other brand
in its name) should do. See the booklist @ www.accu.org for ratings.

> Does anyone know of any IDEs (besides Borland C++) or languages which
> could help me accomplish this task?


A large number. It's a fairly easy task in most C++ variants, there
is just no Standard for GUIs in C++. This group can't help you there
- check vendors' groups for that.

Regards,
--
Michiel Salters
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple program error when it runs jack Java 5 04-08-2008 08:14 PM
How to develop an application which runs automatically aparnasinha26@yahoo.com ASP .Net 2 05-18-2005 11:52 AM
How to develop an application which runs automatically aparnasinha26@yahoo.com ASP .Net 1 05-18-2005 11:43 AM
Simple code runs on linux, but not on windows -- why? Suresh Govindachar Perl Misc 20 02-23-2004 07:04 AM
Program still runs after turning it off in startup Jim Prather Computer Support 28 07-17-2003 08:31 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57