Add MySQL.Data.RT.dll Reference to Windows Store App Project in Visual Studio 2013 C++ - c++

i want to use the mysql-connector/net (6.9.5) in my windows 8.1 app (Visual Studio 2013, C++) connecting my Database.
But i can't reference the MySql.Data.RT.dll. Here the error-message:
Microsoft Visual Studio
Could not add a reference to:
C:\develop\mysqlConnectorNet\RT\MySql.Data.RT.dll
For one of the following reasons:
Targets a higher version of the .NET Framework
Not a .NET assembly
Not a registered ActiveX control
In C# it is working:
https://blogs.oracle.com/MySqlOnWindows/entry/how_to_using_connector_net
Also tried MySql C++ Connector -> no success.
Any ideas how i can access my MySql-Database from a Windows 8.1 App written in C++?
Thanks for help!

Related

Visual Studio for Mac 2019 .NET Assemblies missing

I've been writing a .NET Standard 2.1 class library project in Visual Studio for Mac 2019. However, when I was trying to add an attribute to a class, I was expecting I would be able to use quick-fix to add the reference for me. So when I was trying to do just that, it does not have the option of referencing the correct using statement. So I tried to add the assembly myself but then when I tried adding a new reference, I could only see the projects in the solution, but no .NET Assemblies. See the screenshot below.
By the way, I am running:
OSX Catalina version 10.15.3
Visual Studio for Mac 2019 Community Edition version 8.5.4 (Build 12)
.NET Standard projects do not show assemblies in the .NET Assembly tab in the References dialog.
.NET Standard projects use NuGet packages and framework targeting packs instead of the GAC so there is nothing to list in that tab.

ATL is not working when migrating to Visual Studio 2015

I have a project which uses an ATL component to create pie charts. It's working fine in Visual Studio 2010 but when I migrate it to Visual Studio 2015, its not working or not instantiated. It's crashing at runtime
I have installed VS 2015 with the C++ support on Windows 7.
I have set the platform toolset to v140.
I have installed the VS 2015 x86 redistributable package .
Target platform version 8.1.
Tried adding ATL support in existing MFC project by ATL wizard. This causes crash in ATL (_pModule == 0) and some Dlls also not registered due to this change so I had to revert the changes.
Why do you add ATL again support?
As far as I understand your question this is an existing project and has ATL support! The ASSERT simply tells you that you have two ATL modules.

Why can't I find the DirectX template?

I'm currently using Visual Studio 2013 Express for Windows desktop, but I can't really find the DirectX template, FILE -> New project -> Visual C++ , but there's neither a DirectX template nor a Windows app folder-sector. I've searched this in Google but no one seem to have posted about it. Where is the template?
The "DirectX" templates provided by Visual Studio are for Windows Store, Windows phone, or Universal apps. They are only provided in the VS 2013 Express for Windows, VS 2013 Pro+, or VS 2013 Community edition.
There are only two built-in Visual C++ Win32 desktop templates in Visual Studio:
Win32 Console Application
Win32 project
As others have noted, if you want to build for Windows Store, Windows phone, or Universal apps you need (a) Windows 8.1 and (b) some other edition of VS 2013.
If you are writing a Win32 desktop application and/or have Windows 7, consider downloading and installing this template: Direct3D Win32 Game Visual Studio template
Also, I highly recommend using VS 2013 Community rather than VS 2013 Express for Windows Desktop if you fit the quite generous license requirements--if not, buy VS 2013 Pro.
You need to download the correct version of Visual Studio. The desktop version doesn't have DirectX for Windows store apps. You need to download Visual Studio 2013 Express For Windows, scroll down to Express 2013 for Windows or direct link

Visual Studio 2012 for windows 8 not showing win32 console application option

I downloaded Microsoft visual studio 2012 for windows 8 to run C++ programs but when I go to New Project -> Templates -> Visual C++ it doesn't show option for win32 console application instead its showing App XAML files .What can be the solution to this problem ?
You have probably downloaded the version which allows only the development of Windows 8 apps.If you are not interested in doing so you should download the Express for Desktop version.

Visual Studio 2010 add Web reference greyed out - Windows Phone

I have problem with adding web service by add web reference button.
I tested that on Windows Phone Developer Pack (with Visual Studio 2010 Express) and wich Visual Studio 2010 Ultimate. Both on diffrent systems (Windows 7 Ultimate x86 nad Windows 7 Ultimate x64).
In windows form application project everything button is active and working good.
Earlier I added the same webserivce - NuSoap PHP webservice- in visual studio 2008 pack 1 to smart device - Windows Mobile 6.5 and works fine.
Screen at the link:
http://img130.imageshack.us/img130/6305/problempx.jpg
What is the problem?
Best regards
This is standard behavior for WP7 projects. A regular Web Reference is an outdated way to add references to older (XML-based) web services. You should use the standard Service Reference option instead.