Visual Studio .Net – C++ – ODBC / Database Connection

  Background Using a very nice and well documented code from Easysoft as a sample, wanted to see how to connect and disconnect from an ODBC datasource. Code Outline Function :- ParseCommandLineArguments Get Command Line Arguments int argc char* argv[] Function :- extractODBCError SQLGetDiagRec Function :- Main Function :- SQLAllocHandle SQL_HANDLE_ENV Function :- SQLSetEnvAttr ODBC/Version … Continue reading Visual Studio .Net – C++ – ODBC / Database Connection

Visual Studio .Net – C++ – Compile Error – “error LNK2019: unresolved external symbol _SQLAllocHandle@12”

Background Error linking a very simple ODBC Application written in C. Error Error Image Error Text TroubleShooting Review Compilation Step Command Code Remediation Outline Include the following libraries ODBC32.lib   Code Crediting Crediting Sybase SYBASE - Infocenter SQL Anywhere 12.0.1 > SQL Anywhere Server - Programming > ODBC support> Building ODBC applications Linking ODBC applications … Continue reading Visual Studio .Net – C++ – Compile Error – “error LNK2019: unresolved external symbol _SQLAllocHandle@12”

Visual Studio .Net – C++ – Compile Error – “error C2061: syntax error: identifier ‘DWORD’ “

Background Compiling our sample ODBC application and ran into an error. Error Error Text Error Image Troubleshooting Code Remediation Outline Add the following header files sql header files ( sql.h and sqlext.h) Add windows.h before the sql header files ( sql.h and sqlext.h ) The aforementioned sql header files reference structures defined in windows.h Code … Continue reading Visual Studio .Net – C++ – Compile Error – “error C2061: syntax error: identifier ‘DWORD’ “

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

Microsoft.ReportingServices.ReportViewerControl.WebForms – Adding Package – Postmortem – Package – Folder Comparison

Background Let us discuss some of the changes that occur when we integrate "Microsoft.ReportingServices.ReportViewerControl.WebForms" component to Visual Studio. Lineage Here are other posts along same thread :- Microsoft.ReportingServices.ReportViewerControl.WebForms – Error – “The definition has an invalid target namespace which can not be upgraded” Link Comparison Folder Comparison Tools Tool - Meld Artifacts Download Meld from … Continue reading Microsoft.ReportingServices.ReportViewerControl.WebForms – Adding Package – Postmortem – Package – Folder Comparison

Microsoft.ReportingServices.ReportViewerControl.WebForms – Error – “The definition has an invalid target namespace which can not be upgraded”

Background Trying to evaluate an application, but it has been one issue after another. Error Error Image Error Text Resolution Outline Visual Studio Microsoft.ReportingServices.ReportViewerControl.WebForms Install Package Launch Nuget Console Issue install command Tasks Visual Studio Microsoft.ReportingServices.ReportViewerControl.WebForms Install Package Syntax Sample Output - Image Output - Text Credits Crediting .... Author :- DarioN1 Link :- Link … Continue reading Microsoft.ReportingServices.ReportViewerControl.WebForms – Error – “The definition has an invalid target namespace which can not be upgraded”