SQL Server – Visual C++ Runtimes

Background When a program is compiled using Microsoft Visual Studio .Net, it sometimes relies on Microsoft Visual C++ Runtime. SQL Server Some of Microsoft's SQL Server is written in C and C++ and compiled with Visual Studio .Net. In the table below, we list the corresponding Visual C++ Runtime for each of Version of SQL … Continue reading SQL Server – Visual C++ Runtimes

SQL Server – v2017 – Installation Error -“VS Shell installation has failed with exit code 1638.”

Background Trying to install Microsoft SQL Server v2017, but ran into a blocking error. Error Error - VS Shell installation has failed with exit code 1638 Error Text Install_VCRuntime140_Cpu32_Action VS Shell installation has failed with exit code 1638. Error Image TroubleShooting The status indicates that the current step is "Install_VCRuntime140_Cpu32_Action". Remediation Outline Exit SQL Server … Continue reading SQL Server – v2017 – Installation Error -“VS Shell installation has failed with exit code 1638.”

Microsoft – Visual C++ :- Compilation – Warning – warning C4172: returning address of local variable or temporary

Background Ran into a compiler warning while compiling a simple C application. Error Error Text Error Image Research StackOverflow warning: function returns address of local variable [enabled by default] [duplicate] Link https://stackoverflow.com/questions/17312336/warning-function-returns-address-of-local-variable-enabled-by-default  ( Link ) Code Here is the cited code :- Image Text Question This yields: ...and i can't figure out what is wrong … Continue reading Microsoft – Visual C++ :- Compilation – Warning – warning C4172: returning address of local variable or temporary

Visual Studio .Net – Workload – C++

Background Let us get our Visual Studio .Net environment configured for C & C++ development.   Installation Outline Programs & Features Launch Control Panel Choose "Programs & Features" applet Select targeted "Visual Studio" version In our case "Visual Studio Community 2017" Review workloads Ensure "Desktop Development with C++" is selected Process Click the modify button … Continue reading Visual Studio .Net – Workload – C++

Visual Studio .Net – HelloWorld in C

Background There is an application written in the C Language that I need to look more into. It has dragged on for months and it has been hanging over my head. HelloWorld Let us start off with a simple HelloWorld application in C. HelloWorld - Generic Code Output Output - Image Output - Text HelloWorld … Continue reading Visual Studio .Net – HelloWorld in C

“Windows SDK for Windows 7” – Installation – Error – “DeleteFileSafe failed”

  Background Quick follow-up from our last post. Downloaded the ISO and install is progressing until ran into a new error.   Error Error Message Delete File Safe Image Textual Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: DeleteFileSafe failed (10th try)     Crediting Jaime Hablutzel Link … Continue reading “Windows SDK for Windows 7” – Installation – Error – “DeleteFileSafe failed”