C++ SQL database library comparison [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 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.

Related

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.

Which Windows SDK is the best for me in C++ Win32? [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 need to develop an application that it could run in any version of Windows XP (Service Pack 1, 2 or not SP) or any higher Windows versions (Vista, 7 or 8).
In this application i need to:
1- Connect to a database with maximum record 500,000
2- Connect to HTTP protocol and received data
I'm new in C++ and I'm using code::block compiler.
Which one is the best windows sdk for me in C++ language?
If you have any recommended database for me, please let me know.
If you want to use Windows SDK you can find any information on MSDN, you just have to search. But I suggest to use some cross-platform and maybe more specific libraries. For example, for HTTP protocol you can try libcurl. There are lots of examples on their website and it will be easy for you to implement any HTTP feature. For database features (local database) you can use sqlite. It is very powerful, fast and convenient. Both these libraries can be easily added into your app and they will work in any version of Windows.
P.S. To use sqlite you should know some basics of SQL query language but it is not a problem, I think

Best C++ RPC library for Windows/Visual Studio [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 know this kind of question is asked a lot but I have a set of requirements:
1. Be able to compile and develop in Visual Studio on Windows.
2. Be somewhat modern - Async/threaded, clean.
3. C++
I've looked at thrift, messagepack, and even protobuf+RPC. All of them have massive issues in Windows.
FYI - I'm no pro programmer so asking me to apply out-dated patches to untested code is a pretty big ask. I know thrift has some patches available, but their >2MB big for old versions of thrift, with other patches thrown on top. God knows how well that'll work.
Did you consider using Protobuf together with Boost asio? Of course it is not an RPC library, so that part you would have to do at your own, but it would be asynchronous and fast.
you can use ICE & proto buffer. since version 3.4.1, proto objects have been suported by ICE though there are some limits.

What is the best library to manage a wiimote? [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 11 years ago.
There are many libraries that manage the wiimote but I am looking for the "best" one, or at least that has the following features:
open-source
portable (at least Win32 and Linux)
written and usable in c or c++
good coverage of wiimote devices
I rely on people that already used such library. Google is good source of information but it doesn't know which one is best library.
if you will use multiple wiimotes, don't use wiiuse library. i am working on a stereo system with two wiimotes using wiiuse library but wiiuse made me crazy( it gives delayed ir tracking data ) and i decided to change my library wiiuse from wiiyourself
Some friends of mine have had good luck with wiiuse. It's in C, for both Windows and Linux.
Have you seen this:
http://www.codeplex.com/WiimoteLib
http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx
It may not be exactly what you are asking for, but with Mono you'll have the cross platform part of it.
What about Johnny Chung Lee - it's .Net but it's open source and could converted.
I think this might be what your looking for:
http://wiiuse.sourceforge.net/
Open-sourced, multi-platform and written in C/C++. They are looking for a OSX developper though, so I'm guessing it doesn't support it yet.
Maybe https://github.com/MJL85/wiiuse will do? Seems to have a lot of features and supports Windows and Linux, AND it is c.

Is there an auto-update framework for C++/Win32/MFC (like Sparkle)? [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 decided to add auto-update functionality to one of my applications and was looking for any existing solutions that compare the current running version with the latest version that is then downloaded from the web.
I know Sparkle on Mac OSX which is very nice and powerful, but was wondering whether there is something similar for Win32/MFC?
I just stumpled accross WinSparkle which is an early stage but looks very promising.
I found two more projects aimed at solving this: http://sevenupdate.sourceforge.net/ and Google's Omaha but it's not clear either of them has any external users yet, so this question is apparently still open. I too am looking for a solution....
I've never used it, but WiX provides ClickThrough. Might be worth a look.
There is open source project WIPT inspired by APT of Debian Linux. However, the project seems to be abandoned.
I assume you already know about ClickOnce? I wasn't sure it was compatible with MFC, but then I found this article, so if that's the question you're asking, ClickOnce would be something to try.
AbstractSpoon uses "Software Update Wizard" from here for their awesome ToDoList MFC app.
Another .NET one: SparkleDotNet
In general no, windows maps things like DLLs (either your own or MFC) in such a way that you can't replace a running program.
The msi installer checks the VERSIONINFO and doesn't overwrite installed files that have the same (or newer version) but you would have to quit the runnign instance.