Is there an auto-update framework for C++/Win32/MFC (like Sparkle)? [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'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.

Related

C++ GUI Without "Windows Forms" or "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 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

Tutorial for Wt (c++ Web development) [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.
Any tutorial for Wt (c++ wedevelopment)?
Is there any IDE for developing webapplication in WT, as in the case of qt such as Qt creator?
Can any one guide me for the installation of wt in ubuntu studio and compiling the program with a small example?
the official website contains all the information you need.
Installation instructions for Ubuntu : http://www.webtoolkit.eu/wt/download or http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Ubuntu
There is no development IDE specifically made for Wt. Treat WT as a standard C++ lib and use your traditionnal C++ IDE. I would recommend Eclipse CDT.
Exemples are shipped with Wt. There is a tutorial available : http://www.webtoolkit.eu/wt/doc/tutorial/wt.html
P.S. I find the tutorials quite poor. i'm thinking of writing one myself, but not now...
Here are some Wt Articles that I found helpful as I was new to Wt too:
http://www.richelbilderbeek.nl/CppArticle.htm
Also I recommend that you use the Wt forum and ask there when you start to develop your own application:
http://redmine.webtoolkit.eu/projects/wt/boards
I made some tuts for private teaching, you might find them useful, just builds a hello world app, bit by bit.
https://github.com/matiu2/witty-tutorial
To build them read the README file in lesson one:
https://github.com/matiu2/witty-tutorial/tree/master/lesson-00-hello-world-in-cpp
But the idea is you look at all the code, it's pretty short in lesson 00, and each lesson adds a little bit to the previous.

Is anyone using Maven/NAR for any large scale C/C++ projects? [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.
And, what has your experience been? Do you think that Maven has been well suited to your project, and how would you advise others on following your path?
Thanks in advance!
CERN seems to be using it in combination with Make:
http://accelconf.web.cern.ch/accelconf/icalepcs2011/papers/wepks026.pdf
I have not used Maven for any of my projects but some of my colleagues used for java projects. Are you looking for ant special features of it ? if its plain vanilla build then stick with Makefiles. You can also look at http://www.scons.org/
Why do you want to use maven for a C/C++ project?
Maven is very good but require you a very deep knowledge, and it is strongly Java-oriented.
I think Makefiles are good also for big C++ project.
I will suggest automake+autoconf for a slight better way of managing Makefile creation.
Take also a look to big project like the OpenOffice sources, for getting inspired.
I'm using CMake under Maven: http://code.google.com/p/cmake-maven-project/
I find CMake much easier to use because it generates full-fledged project files. You can then open those project files and run the debugger, profiler, etc.

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.

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.