is there a way of configuring a ms compiler? - configuration

I have visual studio code installed. however, I do not want to use a third party c++ compiler. is there a way of getting the Microsoft c++ compiler and configuring it to visual studio code without a full version of visual studio?

Related

Access violation in 3rd party DLL when loading from application compiled with Visual C++ 2019

I have used some 3rd party DLL (precisely: TRMPRO.DLL - i.e. Tsunami Record Manager - compiled with PowerBASIC in 2005) for many years with my application compiled with Visual C++ 2008 and it has been working OK, also in Windows 10, but when I am trying to load (with LoadLibrary function) this DLL from the same application recompiled with Visual C++ 2019, it causes an access violation, exception thrown. The DLL rather does not depend on Visual C++ runtime, so I can't see any reason of such a behavior. Is LoadLibrary function working differently with the newer Visual C++ runtime? Any other ideas?
The application and, of course, TRMPRO.DLL are 32-bit.
I actually worked w/ J on this via email. The solution is to turn off DEP protection.
From J's email:
The automatic project conversion from MSVC 2008 to MSVC 2019 doesn't
set the /NXCOMPAT option, and the unset option means prevention is on.

Issues in cuda toolkit installation

I'm trying to set up cuda toolkit but even if i've already installed visual studio express 2013, cuda toolkit installation warn me that it can't find any visual studio installation.
I'm wondering if it is the 2013 express version that could raise an error ?
Furthermore I would like to code and compile by hand, when I do so I get this error : "nvcc fatal error no cl.exe found"
Thus I put the flag -ccbin"path/to/my/gcc" but I get an error that told me there isn't any supported version of visual studio.
May I understand that it isn't possible to compile by hand without visual studio ?
I installed visual studio community 2013 and it seems, finally, that it worked.

Installing nvidia cuda template in visual studio

I installed visual studio 2010 on my notebook , and then i installed cuda version 5.5 on my notebook . I am a beginner in parallel programming . The thing is , why am I not getting Nvidia cuda template installed in visual studio . Whenever I click on new project it shows only CLR , Win32 and General option .
How to install CUDA template in visual studio ?
Check out this answer for getting started with VS2010. You can start with an empty C++ project, when you enable the CUDA build customisation any .cu files will be built with CUDA.

cannot show Visual Studio Tools for Application editor in SSIS 2012

When I click on EDIT SCRIPT button for Script Task in SSIS 2012 package,
It does not open the Script editor rather it shows:
"cannot show Visual Studio Tools for Application editor"
Couls not load file or assembly
"Microsoft.visualstudio.tools.applications.core version=10.0.0.0 ...."
system can not find the file assembly specified.
I tried the solutions provided in the following links:
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/e5337b0c-7f70-4603-859e-fbc7d0cf1c37
SSIS Script Editor throws an exception
First of all go to Program and Features and check whether you have
"Microsoft Visual Studio Tools for Applications x86 Runtime 3.0"
installed. Most probably you will see this below
"Microsoft Visual Studio Tools for Applications x64 Runtime 3.0"
If it is not installed then you have the same issue that i have.
To resolved this error, I put in my SQL Server installation disk. Then go to redist->VSTA->runtime->x86 and then run VSTA_RT30.msi
The workaround mention in this link solved my issue:
https://connect.microsoft.com/SQLServer/feedback/details/776248/could-not-load-file-or-assembly-microsoft-visualstudio-tools-applications-core
Both the x86 and x64 runtimes must be installed, currently one or both the runtimes may be missing depending on the order of the SQL Server 2012 installation. As a workaround, check in Control Panel - Programs and determine which of the component is missing (it should be listed as Microsoft Visual Studio Tools for Applications x86 or x64 Runtime 3.0). You can install the component manually from your installation disk or download from the \redist\VSTA\runtime\ folder.
It is year 2021, when searching for the error, this is the top hit. The solution that worked for me with Visual Studio 2019 is to download and install "Visual Studio Tools for Applications 2019"
Link:
https://www.microsoft.com/en-us/download/details.aspx?id=58317&WT.mc_id=DX_MVP4025064
Interestingly, this is not provided as an option in Visual Studio installer. The above needs to be manually downloaded and installed.
By now, SQL Server 2012 Service Pack 1 is out. Try updating your release and after that, you might even consider putting the Cumulative Update 1 on top of it.
More about CU1: http://blogs.msdn.com/b/sqlreleaseservices/archive/2012/11/21/cumulative-update-1-for-sql-server-2012-service-pack-1.aspx
goto SQL server installer folder and install these msi files
redist/VSTA/designtime/VSTA_DT30msi
redist/VSTA/runtime/x64/VSTA_RT30.msi
redist/VSTA/runtime/x86/VSTA_RT30.msi

editbin and Visual Studio Express

I want to use editbin in some application, like
"editbin /LARGEADDRESSAWARE your-exe-file.exe"
but in my customer pc there is no visual studio...
Do you know if some Visual Studio Express versions comes with editbin?
It should be included with Visual C++ Express.