C++ GUI Without "Windows Forms" or "Framework" [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to create normal program with C++ in Visual Studio 2012 Express.I know there are many programs with GUI(I am not sure it is GUI or not,but I call normal programs with that).I want to create program like that.I tried to do it with VB and their windows forms.But When I gave it to my friend it needs some stupid files like pdb(I am not sure again,but it can't be opened) or it needs .NET framework. In anyway it didn't work.I want to create a program which don't need another file or program to work.
Just I want to make a simple program with Buttons,Labels,TextBoxs and it will not request another files. Just 1 exe.

You have a few options for pure "native code" user interfaces.
The Microsoft Foundation Class (MFC) Library is the main option included with Visual Studio.
Otherwise, you can go to 3rd party options. Qt is a very nice option, if you're willing to install it, and provides a much nicer development model (in my opinion) for rich user interfaces.
That being said - if you already have something working using Windows Forms, having your friend install the .NET Framework is far simpler than rewriting an entire code base just to avoid it. It's very difficult to remove ALL dependencies on libraries - though having a native UI will potentially simplify the deployment.

You should learn how to use the WINAPI

Related

resurrecting a project written in Visual studio 6 [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I've been given the source code to an image classification application that was written in
visual studio 6. I've tried to see if any of the projects can be compiled. There is a project file with a .dsp extension. I'm using Visual C++ Express 2010. When I try to load the dsp file it says it needs a conversion. I reply yes. But this is to no avail: the conversion process seems to fail quietly because I don't see any source file icons appearing in the tree view of the project after this.
I've been wondering as to whether it's worth trying to recompile this old code at all.
After all it's written with an old framework and the latest like WPF are considered much more elegant. And there's Qt that I am quite conversant in as an alternative.
Now I could possibly try to get a hold of an old Visual Studio 6 C++ compiler, but do you think I would be wasting my time? I need ideas to make an informed decision on what to do with this.
If the program uses the MFC library then it can not be ported to an "express" version of Visual C++. Express versions do not support MFC. Higher versions (the ones you have to pay for) can certainly support an older MFC program, typically with a bit of editing.

Suggestions for quick GUI development tool with C++? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am looking for an RAD C++ development tool that can let me put together a not-too-complex GUI project (for video processing & display) very quickly. I would use a Active Control in the GUI, and calling some C++ libraries. I am looking at these options:
Visual C++. It's actually not an RAD tool, and from my past experience, MFC is really outdated and painful to use. I really don't want to touch it any more.
QT Creator. It's modern, elegant to use, but still not an RAD environment. I would like to work out my App in two weeks. I don't think I can do that with the QT ecosystem.
C++ Builder. This looks like the ideal choice. Dead easy to develop. Tons of VCL controls to easily extend the GUI functionality. But it looks like it's falling into obscurity these days (for reasons I yet to understand).
What do you think is the best choice for quick GUI development tool with C++?
(Please answer quickly since this question probably will be killed for "Off Topic" very shortly)
You can use Windows Forms, pretty easy with lots of help and example code.
Glade is a RAD tool to enable quick & easy development of user interfaces for the GTK+ toolkit and the GNOME desktop environment.

Source code edition C++ framework [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to include a source code editor inside my software.
The editor should provide at least the following features:
syntax coloration;
syntax validation;
auto-commpletion;
code folding;
inline documentation (displays a called function documentation for example);
extensible, so that it can support more languages in the future; support at least C++, Python, Java, Doc-book, XML, Latex.
Additionnaly, the framework should be in C++, as my own software that wishes to include the framework is in C++ as well. Ideally, it would use the Qt framework.
Finally, it should work at least for GNU/Linux, Mac OS X and Windows.
I wish to avoid develop it myself, as this seems a long and difficult task, and as I expect this need is quite common and many solutions already exist in the outside world.
So far, I only found QScintilla, but I am surprised there is not much more choice.
Do you have any other suggestions ?
Perhaps KatePart is what you are looking for? It's the editor component used in the Kate editor and the KDevelop IDE included in KDE.

Win32 Application calling C code [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
For my engineering project we are programming robots and our team decided to program a gui in Win32 to direct the robot how to move, rotate, etc. So far I haven't found anything on the web about how to encapsulate the code and call functions using buttons and other inputs. Anyone know of a good guide or any tips on how to do this?
If you really want to program in the raw C/Win32 API, I'd get a copy of Petzold. Buy a used copy ;)
If you want to program something more contemporary, I'd consider using C# and .Net.
IMHO...
PS:
You might also wish to consider Linux. Linux can make it really easy to get close to the hardware, and you've got lots of choices in both languages (C, C++, Python, Java, etc etc) and UIs (SDL, Qt, GTK+, etc, etc)
Check out Qt.
This will allow you to easily create guis, connect click/mouse/any event to the underlying api call easily. Also allows you to trivially multi thread the application so that your calls to the underlying robot api will not lock up your front-end... all within one very easy to use and adaptable framework.
Imho, starting off with win32 is just asking for more pain than it's worth

C++ SQL database library comparison [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am starting development on a medium-scale C++ project that has to work with a Microsoft SQL Server database. I have done database work before using .NET technologies but I don't find using a .NET approach to be appropriate this time. I would like to get some feedback concerning the various free (as in GPL, LGPL, Boost) C/C++ SQL libraries available. I found MySQL++ and SOCI to be pretty interesting and I would like to know which one you guys prefer and why.
Also, although this project will primarily be run on Windows workstations, I prefer developing under Linux so cross-platform compatibility is an advantage.
I can highly recommend OTL.
Not only does it support all major DBs, it's also very STL-ish and is generally written according to to proper C++ methodology (IMO). It worked for me just fine on VC8 (I used the MySQL ODBC connector).
Moreover, it's a one-header library. So there's no linkage issues or anything. Just include the header and you're done. You're 3 lines of code away from querying a MySQL table.
I've used it over the past few months, and also had a good experience communicating with its developer, asking questions, etc.
I recommend SQLAPI++. It's shareware so you can try it for free and the support is excellent. Works for Windows and Linux.