473,761 Members | 8,463 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ programming migration from DOS to Windows

I am used to programming in DOS mode via Borland C++. I would now like
to create programs for the Windows envirinment. Is it absoultely
necessary to use Visual C++ to do this? Are there other tools that can
help me in doing Windows programming via C++? How am I going to create
drop-down menus and allow my programs to interact with the mouse?

Regards,
Icon

Jul 23 '05 #1
32 2815
Visual C++ would still be your best bet for Windows application
programming.
It is a well developed platform with lots of support available on or
off the internet.

Deepa
--
EventStudio 2.5 - http://www.EventHelix.com/EventStudio
Enter model in plain text;generate sequence diagram in PDF/Word

Jul 23 '05 #2
EventHelix.com wrote:
Visual C++ would still be your best bet for Windows application
programming.
It is a well developed platform with lots of support available on or
off the internet.

But it's not free ;)

--
SirMike
the code is my strength
http://www.sirmike.grudziadz.com
Jul 23 '05 #3
EventHelix.com wrote:
Visual C++ would still be your best bet for Windows application
programming.
It is a well developed platform with lots of support available on or
off the internet.

Deepa
--
EventStudio 2.5 - http://www.EventHelix.com/EventStudio
Enter model in plain text;generate sequence diagram in PDF/Word


Borland C++ Builder would still be your best bet for Windows
application programming. It is a well developed platform with
lots of support available on and off the internet.

The GNU C++ compiler along with a windowing framework,
such as TK/TQ, and wxWidgets is a well developed and free
platform for windows application programming. There is
not as much support, but then it is free unlike Microsoft
and Borland, which require money for their support (depending
on the need or degree).

There are other compilers and platforms. The "best" for
Windows development is a decision that the OP must make
depending on the OP's needs and abilities.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Jul 23 '05 #4
On 2 Mar 2005 03:30:11 -0800, "EventHelix.com " <ev********@gma il.com>
wrote:
Visual C++ would still be your best bet for Windows application
programming.
It is a well developed platform with lots of support available on or
off the internet.


The guy said he originally programmed with Borland. Borland has its
own version of visual C++, C# and Java.

The fact is M$ is overrated.

(But hopefully Borland has no visual basic. There ought to be a
law...)

Jul 23 '05 #5
On Wed, 02 Mar 2005 13:22:58 GMT, Thomas Matthews
<Th************ *************@s bcglobal.net> wrote:
EventHelix.c om wrote:
Visual C++ would still be your best bet for Windows application
programming.
It is a well developed platform with lots of support available on or
off the internet.

Deepa
--
EventStudio 2.5 - http://www.EventHelix.com/EventStudio
Enter model in plain text;generate sequence diagram in PDF/Word

Borland C++ Builder would still be your best bet for Windows
application programming. It is a well developed platform with
lots of support available on and off the internet.

The GNU C++ compiler along with a windowing framework,
such as TK/TQ, and wxWidgets is a well developed and free
platform for windows application programming.


Yeah I can just imagine building C++ foundation class dlls, ActiveX
and serialized MDI apps under that shitbox platform.

Umm, let's see. VC++ 6.0 or .NET is less than $100 for standard. Same
with Borland.

If you don't have that chump change go rob somebody...
There is
not as much support, but then it is free unlike Microsoft
and Borland, which require money for their support (depending
on the need or degree).

There are other compilers and platforms. The "best" for
Windows development is a decision that the OP must make
depending on the OP's needs and abilities.


Jul 23 '05 #6
"cat_dog_as s" <ic************ *@hotmail.com> wrote:
I am used to programming in DOS mode via Borland C++. I would now like
to create programs for the Windows envirinment. Is it absoultely
necessary to use Visual C++ to do this? Are there other tools that can
help me in doing Windows programming via C++? How am I going to create
drop-down menus and allow my programs to interact with the mouse?


It's not absolutely necessary to use Visual C++ to write windows
programs, or even to write Windows programs in C++. It is necessary to
interact with the Windows API functions (which, among other things,
allow you to create menus and receive messages from the mouse). VC++,
being a Microsoft product and intended to be used for writing Windows
programs, provides lots of help in doing this. It also provides
Microsoft Foundation Classes (MFC), a C++ class library that wraps
many of the Windows API functions. Of course it also costs money.

For Win32 API information, start here:
http://msdn.microsoft.com/library/de...start_page.asp

You might want to check the microsoft.publi c.vc.* newsgroup hierarchy
(if your ISP's server doesn't have them, check msnews.microsof t.com.
They will provide you with lots of information about Windows
programming. This newsgroup, which discusses standard C++, will not.

--
Tim Slattery
Sl********@bls. gov
Jul 23 '05 #7
cat_dog_ass wrote:
I am used to programming in DOS mode via Borland C++. I would now
like to create programs for the Windows envirinment. Is it
absoultely necessary to use Visual C++ to do this? Are there other
tools that can help me in doing Windows programming via C++? How
am I going to create drop-down menus and allow my programs to
interact with the mouse?


First of all, you'd be much better off asking about this someplace like
comp.os.ms-windows.program mer.win32. There the question is topical, and
a much higher percentage of the participants actually have at least
some clue about the subject matter.

With that said, I hope I'll be forgiven a rather long post that's
mostly only marginally topical. Anybody who's only interested in
topical posts might as well move to the next post now...

No, Visual C++ isn't anywhere close to the only available option.
Depending on your situation, one of the alternatives might be better.

In the last few years, MS has worked very hard on upgrading their
compiler, so the current compiler is quite competitive WRT to
conforming with the C++ standard. OTOH, most of their competition has
been doing the same, the only obvious exception being Comeau, whose
conformance a few years ago was already better than anybody else is
really even trying to accomplish today. MS produces pretty decent
output code as a rule, seeming, in particular, to attempt to provide a
decent balance between size and speed of output.

Borland is still in the market to some extent. As has been the case
nearly forever, their compiler runs fast, but produces relatively poor
code. It has reasonable language conformance, but nothing to get
particular excited about (that's code for "the worst of a good crowd.")

There are a couple of ports of gcc to Windows (cygwin and mingw). IMO,
they're utterly worthless -- they run slowly and typically produce
ridiculously huge executables. Output speed varies over a wide range:
the fastest available for some input code, but other times in close
competition with Borland for the slowest code you can get. I've
frequently seen VC++ produce and executable that was one quarter the
size and 30% faster than gcc did for the same source code. Community
support for gcc on Windows is nearly nonexistent -- most gcc-oriented
newsgroups are oriented primarily toward Linux, and most
Windows-oriented newsgroups assume you use Microsoft. The few people
I've seen who attempt to give advice on using cygwin or mingw seem
mostly lost themselves.

Comeau is more or less unique: the best language conformance you can
get, superb error messages (a feature that's rarely mentioned but
_extremely_ useful, IMO) and no ability to produce machine code itself,
so you have to use it along with some other compiler. Code output
varies with the back-end compiler, but at least part of the time, the
combination does considerably better than the back-end compiler can on
its own.

Intel C++ is probably second only to Comeau for language conformance.
As you'd expect from Intel, its output is typically faster than
anything else available, at least on an Intel chip (its output also
runs on AMD chips, but rarely does so well on them). The penalty for
all this optimization is that the compiler runs quite slowly.

I haven't used Code Warrior recently enough to comment on it much. The
last time I used it, it seemed competitive with Intel for language
conformance, and about on a par with VC++ for compile speed and quality
of output code, but that was quite a while ago.

IDEs: Microsoft and Borland have both produced decent IDEs in the past,
but the current iterations of both are utterly unusable. Borland's IDE
is the least stable program I'd used in at least a decade. Microsoft's
is more dependable, but it's just dependably lousy. Based on the
current pre-release, the next iteration of MS's IDE is a _drastic_
improvement, though still (IMO) inferior to VS 6.0. Intel doesn't have
an IDE of their own, but their compiler can be used with recent MS
IDEs.

There are a couple of free IDEs available for gcc -- the best known is
probably Dev-C++ from bloodshed.net. At least the last time I tested
this, it failed what I consider the bare minimum of usability
requirements -- e.g. it doesn't support regular expressions for search
and replace. OTOH, there are a fair number of people who consider it
excellent, and you might easily like it a lot. It does strike me as
bearing a strong resemblence to Borland's IDEs.

TTBOMK, Comeau is currently usable only from the command line. Code
Warrior includes an IDE, but it's probably changed since I used it last
(though from what I recall, it struck me as reasonable).

Prices: contrary to popular belief, both Borland and VC++ can be
downloaded for free, minus the IDEs -- which are so worthless they're
no loss anyway. If you really want the VC++ IDE, you can get the
"Standard" version for <$100US. The compiler it includes is a
stripped-down version with no optimization, but you can then use it
with the freely-downloaded compiler (which _does_ have optimization) to
get nearly the equivalent of the full "Profession al" version for a
fraction of the cost. The Windows version of Comeau (like most other
versions) is only $50 -- an outright bargain, given its quality. The
gcc ports manage the trick of being "free" yet simultaneously the most
expensive compilers you can get.

I won't try to go into how mouse handling and such is done under
Windows -- but I'd advise picking up a copy of _Programming Windows_,
which spends a few hundred pages explaining it quite well. For now,
suffice it to say that the basic orientation of the program is enough
different that it's probably going to take some serious adjustment to
get used to it.

--
Later,
Jerry.

The universe is a figment of its own imagination.

Jul 23 '05 #8
Thomas Matthews wrote:
Borland C++ Builder would still be your best bet for Windows
application programming. It is a well developed platform with
lots of support available on and off the internet.

Actually as things are so far, it looks like it is discontinued
(unfortunately) . Now they provide Delphi .NET and C#, all under one
package named "Delphi".

If you have enough bandwidth you can download the Delphi 2005 trial to
have a look.

You may also check this thread:

http://groups.google.com/groups?hl=e...ing.google.com
The GNU C++ compiler along with a windowing framework,
such as TK/TQ, and wxWidgets is a well developed and free
platform for windows application programming. There is
not as much support, but then it is free unlike Microsoft
and Borland, which require money for their support (depending
on the need or degree).

There are other compilers and platforms. The "best" for
Windows development is a decision that the OP must make
depending on the OP's needs and abilities.

Apart from portable GUIs, what makes sense to invest time for learning
Windows programming is .NET.
The only available IDE supporting .NET is VC++ 2003, however they
provide the compiler (visual studio 2003 toolkit) as a free download.
However since there is the upcoming C++/CLI (due to March) and VS 2005
(due to end of summer), the best approach for someone who is not in an
emergency to learn Windows programming today, is to wait for the 2005
release and invest his time learning some more ISO C++ until then.


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #9
Jerry Coffin wrote:
IDEs: Microsoft and Borland have both produced decent IDEs in the past,
but the current iterations of both are utterly unusable. Borland's IDE
is the least stable program I'd used in at least a decade. Microsoft's
is more dependable, but it's just dependably lousy.

Which VC++ version do you have in mind?

Based on the current pre-release, the next iteration of MS's IDE is a _drastic_
improvement, though still (IMO) inferior to VS 6.0.

?! VS 6 had no designer at all. What did you like in VS 6? The
maximize/minimize buttons look about the same with the current release. :-)

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #10

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

Similar topics

4
19993
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
2
4137
by: Pawel Gruszka | last post by:
Hello! I need a mdb 2 PostgtreSQL migration tool (something similar to pgAdmin plugin - "Database migration wizard") that don't needs M$ Windows or XWindow. It should also transfer data and relations (!) from .mdb database. I wondering anybody knows a tool with this functions? Or maybe there is another way? mdb -> txt -> pgsql??? Thanks for any solutions. WBR
1
428
by: cat_dog_ass | last post by:
I am used to programming in DOS mode via Borland C++. I would now like to create programs for the Windows envirinment. Is it absoultely necessary to use Visual C++ to do this? Are there other tools that can help me in doing Windows programming via C++? How am I going to create drop-down menus and allow my programs to interact with the mouse? Regards, Icon
3
7037
by: Scott | last post by:
I have written windows applications using MFC for several years and have frequently used MFC techniques. Now I'm moving to C# .NET WinForm. Mostly C# books describes C# language (sometimes compared with C++) and then how to use Windows Forms but without comparison with MFC. Would you recommend any book or online stuff to guide migration from MFC/Win32 to Windows Forms to save time and effort to learn new environment. I realized that...
14
3110
by: gator | last post by:
I am thinking of migrating our MFC application to .NET using C++/CLI. My question is does a migration from MFC applications and ATL to WinForms make sense, given that XAML is likely to be the approach of the future?
1
2214
by: Amol Shambharker | last post by:
Hello Everyone, I have been working on setting up a windows 2003 machine with IIS 6.0.The web server has the web directory on a UNC share on a windows 2003 server.I want to migrate websites from a windows 2000 machine to this one using the migration tool.The problem with doing this is the migration tool does not migrate the FPSE user permissions across.Part of the problem I am sure is that the windows 2000 machine has the FPSE user permissions...
1
3875
by: Bonggoy Cruz | last post by:
We have a fairly big size ASP.NET web application that was written VB.NET. We are in the process converting the web project. We used the migration wizard included in VS 2005. I followed step by step guide outlined in here: http://msdn.microsoft.com/asp.net/reference/migration/upgrade/default.aspx?pull=/library/en-us/dnaspp/html/webprojectsvs05.asp. I was able to convert the project without any problem. Compiling and building them is...
1
7825
by: Vinod Sadanandan | last post by:
Cross Platform Migration An Unproblematic Approach (Windows-UNIX ) Oracle 10\11g The principal restriction on cross-platform transportable database is that the source and destination platform must share the same endian format. Redo log files and control files from the source database are not transported to destination database . New control files and redo log files are created for the new database during the transport process, and an ...
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10111
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
9902
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,...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
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
5215
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
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3866
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
3
2738
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.