Author Topic: VC++ 2 CB  (Read 15089 times)

Offline vc2cb

  • Single posting newcomer
  • *
  • Posts: 4
VC++ 2 CB
« on: September 06, 2008, 01:58:01 pm »
Hi, I used to develop a few programs in Visual C++ 6.
Now I want to create a new application without going through the hell of an upgrade to .NET.
Moreover, I prefer the open-source approach, where the support is usually better (and can be also self-made at times, analyzing the code  ...).
I plan to use CB with the g++ compiler - unless you have a better suggestion.

My question is basically: can I do anything with CB that was doable using VC++?
Is g++ the best fit to build an application with windows (the square things :) doing a lot of graphics?

Thanks,
  Yves

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: VC++ 2 CB
« Reply #1 on: September 06, 2008, 03:07:00 pm »
Hi !

I played with both.
Yes, with C::B, you can do everthing you can do with MSVC6, and even more !
I mean, VC6 is dedicated to M$ devlopment environment and you can't integrate another build system.
With C::B, you can work with GCC and lots of other compiler toolchains, including VS 2003 and 2005.

The only thing I prefer in M$ products is the debugger.

As C::B is an IDE and not a framework, you can do whatever you want with it if you have an appropriate SDK.
Lots of project templates are made for existing SDKs to assist you.

Dje


Offline vc2cb

  • Single posting newcomer
  • *
  • Posts: 4
Re: VC++ 2 CB
« Reply #2 on: September 06, 2008, 04:14:48 pm »
Thanks dje ; actually my target is the zero-MS (besides running on Windows...).

Before (with VC6) I used several open-source libs (like jpeg) ;
now, using g++ and C::B I'd like to to further, e.g.: no SDK, and use os graphics libs.
Do you think the 0-ms is possible? (e.g. can we have a reliable graphics application without the SDK?)

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: VC++ 2 CB
« Reply #3 on: September 06, 2008, 04:46:22 pm »
Lots of frameworks exist.

I like wxWidgets because it runs of lots of OSs, has been ported to lots of languages (c++, python, perl...) and has a very permissive licence (you can use it for everything, commercial or not).
It is used by Code::Blocks.

But it is a matter of taste.

Dje

Offline vc2cb

  • Single posting newcomer
  • *
  • Posts: 4
Re: VC++ 2 CB
« Reply #4 on: September 06, 2008, 06:52:40 pm »
Ok, I see. Have a (probably) last question, technical: without using wxWidget, is there any native window support in g++?
I mean, the low level ones (like CreateWindow() and the events management)?
[or do I need wxWidget? and if so, does it allow a low level programmation?)

Thanks!

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: VC++ 2 CB
« Reply #5 on: September 06, 2008, 07:20:44 pm »
Ok, I see. Have a (probably) last question, technical: without using wxWidget, is there any native window support in g++?
I mean, the low level ones (like CreateWindow() and the events management)?
[or do I need wxWidget? and if so, does it allow a low level programmation?)

Thanks!

If I understood right, you are on windows.
You can read this: http://www.mingw.org/MinGWiki/index.php/w32api

And, of course, you can try to create a win32-gui project with the wizard and have a look on the source code.

Offline vc2cb

  • Single posting newcomer
  • *
  • Posts: 4
Re: VC++ 2 CB
« Reply #6 on: September 06, 2008, 07:27:52 pm »
Thanks jens - was hoping a reply like that! Right now I'm on something else (php) and don't have much time for this, but soon... I'll be ready.

And your answers look very good to me!!  :D