How to use sqlite in visual studio 2012? - c++

I am using vc# for GUI and vc++ for processing part as it includes 3D modeling.I am using SQLite and it works fine with vc# but i am not sure how to import SQLite libraries in vc++.visual studio 2008 supports SQLite i guess.how to use the same in visual studio 2012 for c++?
does visual studio 2012 requires additional drivers or something?can somebody give me step by step installation procedure of SQLite in Visual studio 2012 for c++?

There is now an official installer out on this page here:
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
It will install the design-time components into VS2012, as well as the official System.Data.Sqlite binaries.
There are many downloads on that page, the one you need is about half way down and you can get there by searching for this:
sqlite-netFx45-setup-bundle-x86-2012-1.0.84.0.exe
here is a direct link: http://system.data.sqlite.org/downloads/1.0.84.0/sqlite-netFx45-setup-bundle-x86-2012-1.0.84.0.exe
PS: It is important to note that the design time components are not supported for VS Express due to licensing restrictions.

Related

Is TFS 2013 compatible with Visual Studio 2017?

I am trying to connect to TFS 2013 with VS 2017 via c#. But I could not able to connect and I am getting WITdatastore32.dll is missing.
Can you someone please let me know is it possible to connect to TFS 2013 with VS 2017, if so, what are the steps to be followed?
You can try to install Team Explorer 2013 on your machine. After installation, you need to Browse... for the references here:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies
Check the poster's answer in case Unable to load DLL 'Microsoft.WITDataStore32.dll' (TeamFoundation.WorkItemTracking)
Based on the official documentation, the combination of TFS 2013 and Visual Studio 2017 can count on high level of support. Later in the same article, you'll find the description of that term. In particular:
If you are using newer versions of Visual Studio against older versions of Team Foundation Server, you can similarly expect most features to be supported.
However, you should still consider upgrading the TFS instance on a regular basis, since the distance between VS and TFS versions will increase if you only upgrade VS, and thus the level of support will decrease. Take a look at the first image in this article to understand the upgrade path you should take.

Word (Office) Automation Visual Studio 2013 C++

I have to make a program which can operate with Word documents (edit, view, create) and use C++ with Visual Studio 2013.
I have searched the net and found out VSTO is only available for Visual Basic and C#.
On the Microsoft site there is "How to create an automation project using MFC and a type library" here but seems it is written for very old versions of Visual Studio (like 5.0 and 6.0). When I reach the ninth step "Select the Automation tab." it seems there is no such tab in ClassWizzard in my version of Visual Studio.
Is there any way to perform automation with C++ in newer versions of Visual Studio like 2013?
I found a way here. Actually I am using the "import" method and it worked for me in console mode(COM method also worked, but it seems to me more complicated), I haven`t tested it for GUI yet. There is not C++ documentation, but can be used Visual Basic API with a bit thinking here.

Visual Studio 2015: Can't create a new empty project c++

I recently got the new version of Visual Studio and I can't seem to find how to create an empty project for C++. The options seem to be only C# and Basic.
The default (typical) installation of Visual Studio 2015 no longer contains the C++ compiler and tools. This was a very popular ask from the community as many developers do not want the footprint C++ brings.
If you go and try to uninstall Visual Studio 2015, the installer screen will pop up and you'll see a button named "Modify". This will change your current installation. Do a custom install and pick the C++ features / libraries that you require.
As far as I know, most editions have C++ support, including Express for Windows, Express for Desktop and the popular Community edition.
Try to open VS with Admin's rights. I tried it, and it works!

Compile Visual Studio projects without having Visual Studio installed?

Is there a way to compile a Visual Studio 2012 project without having the VS installed? I need to compile C++ stuff for windows quite rarely and buying the product is not justified as there's no profit (community projects). In most of the cases the project and solution files will be available. If there's a way to compile the code with SDK, could you please share an example?
Thanks!
You can download visual studio express for free. Whenever you build a solution, the bin folder in your project folder will contain the compiled code.
http://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
EDITED: (per MS website)
Visual Studio Express 2013 for Windows Desktop enables the creation of desktop apps in C#, Visual Basic, and C++, and supports Windows Presentation Foundation (WPF), Windows Forms, and Win32.
Sign in to Visual Studio within 30 days with your Microsoft account to synchronize your settings across multiple machines and register your product.
Your best bet is likely going to be using msbuild which will allow you to build a solution or project without having Visual Studio installed.
If you have the free version VC++ Express installed (and thus the compiler toolchain), you might find it more interesting to use Eclipse CDT as IDE on top. At least the newer versions (I think since Helios) support using the native MS toolchain. You can import from native
VS projects also.
Eclipse is the more powerful IDE IMHO, and will additionally support other toolchains (either cross compiling, or Windows alternatives as MinGw GCC).

Can I use build against the 2008 VS Runtime with VS 2010 and no copy of VS 2008?

It looks like using Visual Studio 2010 it is possible to build against the 2008 runtime, if you have both editions installed: Can I use Visual Studio 2010's C++ compiler with Visual Studio 2008's C++ Runtime Library?
Is it possible to do this using just the free Windows Platform SDKs and VS 2010? Just to stress - installing Visual Studio 2008 is not an option.
Background: I'd like to build a Python module for Python 2.7. I have a copy of Visual Studio 2010, but Python 2.7 (specifically the Python(x,y) distribution) is built using 2008. Rebuilding Python, or rebuilding Python(x,y) is not something I want to get into (there are various other modules I want to use as well). My module needs to link against vendor-supplied libraries built using VS 2008/2010 (I've been given both sets of libraries). I don't own a copy of Visual Studio 2008, and I really don't want to have to buy one.
This MSDN article says that although you can change the platform toolset in the IDE you still need to have the VS2008 binaries installed.
I know you said installing 2008 was not an option but perhaps you can still find the free versions in an old SDK or even the Express version on the Microsoft website.