473,664 Members | 2,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simple Program Laucher Which Runs Off Of Cd

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.
Jul 19 '05 #1
2 2267

"javaBeginn er" <er*****@thomas associates.cc> wrote in message
news:b4******** *************** ***@posting.goo gle.com...
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
Jul 19 '05 #2
er*****@thomasa ssociates.cc (javaBeginner) wrote in message news:<b4******* *************** ****@posting.go ogle.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
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3272
by: Tom | last post by:
We have a VERY simple .NET C# Form Application, that has about a 23MB Memory Footprint. It starts a window runs a process and does a regular expression. I have done a GC.Collect to make sure that, no memory is lying around. GC reports only 84k of allocations. Starting 5-10 of this apps is going to start taking a considerable amount of memory. Is there a way to reduce this? Tom
17
6512
by: savesdeday | last post by:
In my beginnning computer science class we were asked to translate a simple interest problem. We are expected to write an algorithm that gets values for the starting account balance B, annual interest rate I, and annual service charge S. Your algorithm would then compute and print out the total amount of interest earned during the year and the final account balance at the end of the year (assuming that interest is compounded monthly, and...
0
1422
by: Mobile Boy 36 | last post by:
I'm trying to make a very simple Textbox with a FocusColor property...When the focus changes to the control, the backcolor must change automaticly to the color set by the focusColor property. Very simple, the control works fine when creating it dynamicly from code. My aim is to add design functionality, so I can use it from the Visual Studio .Net toolbox. When I compile my code, no errors are reproted and Visual studio leaves a
5
4528
by: Fred Nelson | last post by:
Hi: I've written a really cool VB.NET application that I want to install on the many computers in my company (all located behind a firewall) so I'm trying to create a Setup and Deployment project. I'm not having much luck and the documentation doesn't help either. I have created a "software update" page on our web server and it sends file "setup1.msi" which runs the windows installer just fine.
1
5135
by: c_beginner | last post by:
yes, this is my how work question. Since I am lack in getting an assistance with my lab work I put this in this advance group. Sorry for the trouble I am making. Write a program to calculate the simple interest. #include<stdio.h> int intrest(int rate,float amount); int main(void) {
10
110212
true911m
by: true911m | last post by:
This is a simple walkthrough to get PyInstaller up and running. I decided to give PI a try, because it claims to be more selective about what it bundles into its executable files by default, and it also integrates UPX (Ultimate Packer for eXecutables) into the build process, if you have it installed. It also claims functionality on linux, as a bonus (I didn't test this). I highly recommend the UPX options, and will cover how to get it...
10
1826
by: Sourcerer | last post by:
I wrote this very simple code in .NET VC++. I compiled it on my system, and tried to run it on my friend's computer (he doesn't have the compiler). We both have Windows XP Professional. I have .NET framework 2.0, and he had 1.0 and it didn't work; then he installed 2.0 and it still didn't work; so he tried with 2.1 and it didn't work, then 3.0 and nothing still worked. I have Intel Centrino Mobile (laptop computer), and he has Intel Pentium...
30
3513
by: galiorenye | last post by:
Hi, Given this code: A** ppA = new A*; A *pA = NULL; for(int i = 0; i < 10; ++i) { pA = ppA; //do something with pA
1
2066
by: astrogirl77 | last post by:
I'm new to C++ and am hoping to find help with coding a simple C program, am wanting to obtain code and functioning exe's. I code in an old version of Visual Basic 4.0, I have a simple app that is about 3 and a half pages of code long it does some relatively simple math additions and subtractions The problem I have is that some numbers get to be very large integers and VB automatically converts this to scientifc notation, what I need is...
0
8863
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8549
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8636
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5660
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4356
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2004
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1761
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.