Visual Studio / csc :- warning CS1607: “Assembly generation — Referenced assembly targets a different processor”

Background Still playing around with compilers. This time back at home with Microsoft's C#. Task Re-compile a simple hello world and have it target 64-bit Csc.exe Some people use a Visual Studio and a project file.  Or even a solution; where various projects and intertwined. Simple helloWorld and I am good with command csc.exe Command … Continue reading Visual Studio / csc :- warning CS1607: “Assembly generation — Referenced assembly targets a different processor”

Marc Ochsenmeier :- pestudio

Background Play around quite a bit with different software. All from reputable sources such as GitHub and SourceForge.Net.   Documentation Some of them have good documentation. Unfortunately, in the case of others, not so much.   pestudio Marc Ochsenmeier's has a very good tool that bring one closer to determining an applications codeline. Artifacts petsudio … Continue reading Marc Ochsenmeier :- pestudio

Visual Studio – Build – Error – “Exception: The process cannot access the file – obj’ because it is being used by another process.

Background Ran into a little error while trying to build a Visual Studio Project. Error Error Item Image Textual TroubleShooting Outline Trigger PowerShell build\buildtasks.ps1 Get-ChildItem -Recurse bin, obj -Directory | Remove-Item -Recurse -Force Tools Identify which processes are using the targeted folder Microsoft SysInternals handle Trigger Powershell build\buildtasks.ps1 The buildtasks.ps1 script issues this command :- … Continue reading Visual Studio – Build – Error – “Exception: The process cannot access the file – obj’ because it is being used by another process.

Visual Studio – Build – Error “NETSDK1045: The current .NET SDK does not support targeting .NET Standard 2.1. Either target .NET Standard 2.0 or lower, or use a version of the .NET SDK that supports .NET Standard 2.1.”

Background Trying to build .Net Application, but running into an error. Error Error Image Error Text TroubleShooting Outline Project File Review .csproj file DotNet Installation Version dotnet application dotnet --info dotnet --list-runtimes dotnet --list-sdks Tasks Project File .csproj file Source Code Image Text Explanation Target Framework netstandard2.1 dotnet.exe dotnet.exe -- info Syntax Example Output Output … Continue reading Visual Studio – Build – Error “NETSDK1045: The current .NET SDK does not support targeting .NET Standard 2.1. Either target .NET Standard 2.0 or lower, or use a version of the .NET SDK that supports .NET Standard 2.1.”

ODBC – SQLBindCol Function – Using Microsoft’s sample code – Code Review

Background A quick follow-up to our original post on using the ODBC SQLBindCol function. Lineage ODBC – SQLBindCol Function – Using Microsoft’s sample code Date Published :- 2020-01-01 Link Microsoft Sample Web Site Tried out Microsoft's sample; available here. Docs / SQL ODBC / ODBC Advanced / Microsoft Open Database Connectivity (ODBC)/  ODBC Programmer's Reference … Continue reading ODBC – SQLBindCol Function – Using Microsoft’s sample code – Code Review

ODBC – SQLBindCol Function – Using Microsoft’s sample code

Background Reading more on ODBC via C. Microsoft Sample Web Site Tried out Microsoft's sample; available here. Docs / SQL ODBC / ODBC Advanced / Microsoft Open Database Connectivity (ODBC)/  ODBC Programmer's Reference / API Reference / ODBC API Reference / SQLBindCol Function SQLBindCol Function Link Compile Tried compiling the code. Output Image   Text … Continue reading ODBC – SQLBindCol Function – Using Microsoft’s sample code

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