Monday, July 31, 2023

windows driver kit install & Boost library installation

how to write driver?

  1. Set up: Windows Driver Kit (WDK) for Visual Studio 2019
  2. Starting your journey into developing drivers? Well, everyone has to start at the beginning... And installing the driver development kit can be a little confusing. This video takes you through installing and setting up the Windows Driver Kit (WDK) for Visual Studio 2019.

  3. Download the Windows Driver Kit (WDK)
  4. The WDK is used to develop, test, and deploy drivers for Windows.

  5. Driver Development Part 1: Introduction to Drivers
  6. This article will go into the basics of creating a simple driver.

  7. Driver to Hide Processes and Files
  8. In this article, we describe the driver we created to hide processes and files in a system.

  9. Driver to hide files in Linux OS
  10. Simple driver for Linux OS that performs hiding of the selected files from the system

  11. Detect Driver
  12. This article is the continue of the previously posted article Hide Driver. Some methods to detect hidden files and processes are described in it

  13. BOOST library

  14. Installing and using the C++ boost library
  15. Installing the boost library and running one of their simple examples

  16. How to use the Boost C++ Libraries in Visual Studio
  17. In this video, I show you how to create a C++ project in Visual Studio and add and configure a property sheet to use the Boost C++ Libraries.

  18. BOOST- Getting Started on Windows
  19. official

  20. 027 - (SETUP) Install Boost C++ Library on Windows (2020, Aug. 22)
  21. 027 - (SETUP) Install Boost C++ Library on Windows (2020, Aug. 22)

    good at steps on building DLL and Libs etc...

  22. C++ binary compatibility between Visual Studio versions
  23. The Microsoft C++ (MSVC) compiler toolsets in Visual Studio 2013 and earlier don't guarantee binary compatibility across major versions. You can't link object files, static libraries, dynamic libraries, and executables built by different versions of these toolsets. The ABIs, object formats, and runtime libraries are incompatible.

  24. Understanding the Dependencies of a Visual C++ Application
  25. To determine which Visual C++ libraries an application depends on, you can view the project properties. (In Solution Explorer, right-click on the project and choose Properties to open the Property Pages dialog box.) On Windows 8 and earlier, you can also use the Dependency Walker (depends.exe), which gives a more comprehensive picture of the dependencies. For more recent versions of Windows the lucasg/Dependencies tool provides similar functionality (this is a third-party tool not guaranteed by Microsoft.)

  26. Redistributing the MFC Library
  27. If you dynamically link your application to the MFC library, you must redistribute the matching MFC DLL. For example, if your MFC app is built by using the version of MFC that ships with Visual Studio 2015, you must redistribute mfc140.dll or mfc140u.dll, depending on whether your app is compiled for narrow characters or Unicode support.

  28. Determine which DLLs to redistribute
  29. When you build an application that uses library DLLs supplied by Visual Studio, users of your application must also have those DLLs on their computers for the application to run. Because most users probably don't have Visual Studio installed, you must provide these DLLs for them. Visual Studio makes these DLLs available as Redistributable files that you can include in your application installer.

  30. Walkthrough: Deploy a Visual C++ application by using a setup project
  31. In this walkthrough, you'll create a sample app in Visual Studio, then create a setup project to deploy your app to another computer.

  32. C++ binary compatibility between Visual Studio versions
  33. The Microsoft C++ (MSVC) compiler toolsets in Visual Studio 2013 and earlier don't guarantee binary compatibility across major versions. You can't link object files, static libraries, dynamic libraries, and executables built by different versions of these toolsets. The ABIs, object formats, and runtime libraries are incompatible.

  34. C++ - Boost - Setting up on Windows 10
  35. Boost libraries are some of the famous ones in the C++ world.

  36. Installing boost on Windows 10
  37. I am so frustrated installing boost. Yes, I did read tons of materials on the web, including the original (boost) guidelines and many similar topics on StackExchange, but it did not help. Making long story short:

  38. How to Create, Open, Detect, and Remove Alternate Data Streams
  39. Are you interested in Alternate Data Streams? It is a feature offered by the NTFS file system. In this post, MiniTool will introduce this feature to you and show you how to use/manage it.

  40. Hide sensitive files with Alternate Data Streams
  41. Almost every small business and individual PC user has some sensitive or private files to keep away from prying eyes.

  42. Windows: NTFS Alternative Data Streams
  43. You might initially panic! That you may have been attacked or hacked? But actually this signature appears to be an undocumented feature of the Windows Fax and Scan service. The Windows Fax and Scan service actually appends these ADS files to any document or image scanned by the inbuilt Microsoft Windows Scanning software.

  44. Manipulate Alternate Data Streams
  45. A library you can use to encode "hidden" data in existing files.

  46. Where do programs save their secret license? [closed]
  47. Where do programs save their secret license or install related information? I notice that often times when you uninstall a program, clear out appdata references, check registries to make sure there is no residue of any relevant information.

  48. License Files and Aliases
  49. The license file is a binary encoded file is created when the user first runs your application, or it can be created by you and distributed with your application. This file will contain your application's license status as well as many other settings.

Sunday, July 30, 2023

coordinate system in C#

  1. Types of Coordinate Systems
  2. GDI+ uses three coordinate spaces: world, page, and device. World coordinates are the coordinates used to model a particular graphic world and are the coordinates you pass to methods in the .NET Framework. Page coordinates refer to the coordinate system used by a drawing surface, such as a form or control. Device coordinates are the coordinates used by the physical device being drawn on, such as a screen or sheet of paper. When you make the call myGraphics.DrawLine(myPen, 0, 0, 160, 80), the points that you pass to the DrawLine method—(0, 0) and (160, 80)—are in the world coordinate space. Before GDI+ can draw the line on the screen, the coordinates pass through a sequence of transformations. One transformation, called the world transformation, converts world coordinates to page coordinates, and another transformation, called the page transformation, converts page coordinates to device coordinates.

class initializer in C#

must be proficient on this topic.

  1. Object and Collection Initializers (C# Programming Guide)
  2. C# lets you instantiate an object or collection and perform member assignments in a single statement.

Saturday, July 29, 2023

how to set up .gitignore file

how to set up .gitignore file

    Set up .gitignore file for my project

  1. VisualStudio.gitignore - complete list of files for Visual Studio solution
  2. my configuration is based on this file.

  3. VisualStudio.gitignore - the same file as reference
  4. my ignore file set up is based on this VisualStudio.gitignore

  5. takekazuomi/csharp.gitignore
  6. takekazuomi/csharp.gitignore

  7. Gitignore Explained: What is Gitignore and How to Add it to Your Repo
  8. he .gitignore file is a text file that tells Git which files or folders to ignore in a project.

  9. Ignoring files
  10. You can configure Git to ignore files you don't want to check in to GitHub.

  11. octocat/.gitignore
  12. good ignore example

  13. How to setup .gitignore file
  14. The role of .gitignore file is to ignore the changes of the specified file or folder. Say for example if you don’t want to track certain files and their changes throughout the life cycle of the project (example below), we can set up a named .gitignore file list mode to ignore the file. In this article i have listed steps on how to setup local and global .gitignore file.

  15. .gitignore
  16. Git sees every file in your working copy as one of three things: tracked - a file which has been previously staged or committed; untracked - a file which has not been staged or committed; or ignored - a file which Git has been explicitly told to ignore.

  17. VisualStudio.gitignore
  18. this is an example

  19. Go.gitignore- examples
  20. on how to set up .dll, .exe file

  21. Ignoring in Git: How To Use .gitignore Files
  22. good details on file names...

  23. How to add folder to gitignore
  24. In Git, you can use the gitignore file to specify untracked files that Git should ignore.

  25. Git Best Practices and Adding a .gitignore File
  26. The very first step in creating any project that uses multiple JS dependencies that are managed by node package manager (npm) is to create a .gitignore file, and we'll do just that in this lesson. We'll also take the opportunity to review a few additional Git best practices. You are expected to incorporate all of these best practices into your projects for the remainder of the Intermediate JavaScript course.

  27. Create Automated .gitignore Files for Your Project
  28. This lesson explores what git ignore files are and automating the creation of git ignore files.

  29. Automatically create perfect .gitignore file for your project
  30. These days, I am often programming in multiple different languages for my projects. I will do some data generation and machine learning in Python. The data exploration and some quick visualizations I prefer to do in R. And if I’m feeling adventureous, I might add some Processing or JavaScript visualizations.

  31. How to create a .gitignore
  32. When you create a file in your repository named .gitignore, Git uses it to determine which files and directories to ignore before you make a commit. A .gitignore file should be committed into your repository, in order to share the ignore rules with any other users that clone the repository.

  33. Easy to create .gitignore for the dotnet developers
  34. TL;DR Starting from .Net Core 3.0, you can take advantage of the build in the .Net framework gitignore file template just by typing dotnet new gitignore in your terminal.

  35. Version 2.41.0 ▾ gitignore last updated in 2.41.0
  36. Version 2.41.0 ▾ gitignore last updated in 2.41.0

  37. How to use .gitignore Files
  38. Understanding, creating, and extending .gitignore files to manage your projects

Saturday, July 22, 2023

TortoiseGit Daily user guide

TortoiseGit Clone tutorials

    Top Notch video

  1. Setting up git/TortoiseGit
  2. This guide uses TortoiseGIT. While there are other programs out there, this one is the most commonly used. This guide is for Windows only. TortoiseGIT is a simple enough program but other clients or the git command line are recommended once you are familiar with the basics.

  3. Git Repository - Using TortoiseGit, Git & GitHub
  4. How to configure new Git Repository in GitHub and using Git and Tortoise Git how to download code at your local machine?

    Git windows version(git-scm.com) needs to be installed on local computer. then TortoiseGit.

    My Notes: we need to create public key and private key pairs. then start Putty Pagent.

    My Notes: Git Repository: C:\Program Files\Git : git ~/.gitconfig

  5. Creating a repository How to Push Code to Github
  6. One of the most important milestones for a developer is pushing code to Github for the first time. In this video, Maggie helps you get there! Github allows you to have version control, so you can save and edit work individually or collaboratively and see retain previous versions of the same product. In some ways, it's like the coding equivalent of google drive!

  7. Git & GitHub for Beginners: Step-by-Step Tutorial
  8. Learn how to use Git and GitHub in 10 minutes. command line style.

  9. Ad 1 of 2 · How to push a code into github using Tortoise Git
  10. Learn Git and GitHub in 10 minutes
  11. command line styles..

  12. How to Push Code to Github
  13. One of the most important milestones for a developer is pushing code to Github for the first time. In this video, Maggie helps you get there! Github allows you to have version control, so you can save and edit work individually or collaboratively and see retain previous versions of the same product. In some ways, it's like the coding equivalent of google drive!

  14. Git Tutorial for Absolute Beginners
  15. This Git Tutorial for Absolute Beginners will take you from zero knowledge of git, version control, and GitHub to the most common workflows you will use as a beginner that is learning how to code.

  16. GitHub HTTPS passwords don't work anymore Setting Up SSH Keys for GitHub
  17. 118,546 views Oct 27, 2021 GitHub no longer supports password authentication when connecting to GitHub in relation to your git repos. In this video we go from beginning to end in creating and using SSH keys with GitHub.

  18. #9 Pull from a GitHub Repository (Git and GitHub Tutorials from Scratch)
  19. How to Pull an Updated Remote Repository in GitHub?

  20. How to Push Code to Github
  21. One of the most important milestones for a developer is pushing code to Github for the first time. In this video, Maggie helps you get there! Github allows you to have version control, so you can save and edit work individually or collaboratively and see retain previous versions of the same product. In some ways, it's like the coding equivalent of google drive!

    Daily Manual

  22. Git Book
  23. all theory behind Git.

    it givers good introduction on Git, what is Git?

    The entire Pro Git book, written by Scott Chacon and Ben Straub and published by Apress, is available here. All content is licensed under the Creative Commons Attribution Non Commercial Share Alike 3.0 license. Print versions of the book are available on Amazon.com.

  24. Chapter 2. TortoiseGit Daily Use Guide
  25. This document describes day to day usage of the TortoiseGit client. It is not an introduction to version control systems, and not an introduction to Git. It is more like a place you may turn to when you know approximately what you want to do, but don't quite remember how to do it.

  26. Chapter 2. TortoiseGit's Settings
  27. To find out what the different settings are for, just leave your mouse pointer a second on the textbox/checkbox... and a helpful tooltip will popup.

  28. TortoiseGit Manual
  29. TortoiseGit A Git client for Windows Version 2.14.0

    My Notes

  30. Clone Repository
  31. This section talks about how to clone a git repository from an existing repository. This operation is used to get a full copy of a remote repository. Cloning a git repository is very simple. At an empty directory, just use the explorer context menu and select Git Clone....

  32. TortoiseGit Tutorial – How To Use TortoiseGit For Version Control
  33. In this tutorial, we will see another Git version control client called TortoiseGit that is installed as an extension to the Windows shell. This is very similar to TortoiseSVN if you have worked with it.

    tortoiseGit -> Pull: need to set up remote url. tested: using manage remotes button to set up origin and remote url.

    create branches:

    how to resolve conflict:

  34. GitHub Tutorial For Developers | How To Use GitHub
  35. GitHub is a cloud service that helps developers store and manage their source code as well as track and control all the changes to the source code.

    Setup and Configure Git

  36. Getting Started with Git Bash
  37. Git Bash is a very popular package for Windows. As the name suggests, it includes not only Git, a Version Control System for tracking code changes, but also Bash, a UNIX command line shell. In this guide, let's install Git Bash to get you up and running with Git!

  38. Ebook: Learn Version Control with Git
  39. Starting with an Unversioned Project
  40. Let's start with an existing project that is not yet under version control.

droplet and Putty authentication tool

droplet concept and pageant tool tutorials..

  1. How To Use Pageant to Streamline SSH Key Authentication with PuTTY
  2. You have seen in previous tutorials how to use PuTTY to connect to your VPS securely and how to create SSH keys with PuTTYgen.

  3. Download PuTTY: latest release (0.78)
  4. This page contains download links for the latest released version of PuTTY. Currently this is 0.78, released on 2022-10-29.

    When new releases come out, this page will update to contain the latest, so this is a good page to bookmark or link to. Alternatively,

  5. Download PuTTY
  6. Putty and other goodies..

  7. Step-by-step Setup TortoiseHg for gitHub
  8. This is a step-by-step instruction to setup TortoiseHg (A GUI shell extension for Mercurial SCM) to use with github (online project hosting using git Version Control System).

  9. A Fast and Performing Gauge
  10. This article shows you how to write a performing control using .NET 2.0 and GDI+.

  11. An Improved Version of AGauge (A fast and performing gauge)
  12. An improved version of WinForms gauge control based on AGauge.

  13. Dynamic Load .NET Assembly
  14. Example implementation of dynamic assembly loading in C#

Saturday, July 8, 2023

windows kernel related stuff

windows kernel related stuff

  1. .NET Wrapper of FFmpeg Libraries
  2. Article provides the documentation of the features of created .NET Wrapper of FFmpeg libraries. It contains description of architecture, core classes and include sample applications and results of code execution.

  3. Tracing and Logging Technologies on Windows. Part 1 - Simple Ways Providing Information for Tracing
  4. The series of articles covers most aspects of logging and tracing mechanisms which can be embedded into your application. It discusses simple ways of tracing and also new tracing technologies which were involved in Windows 10.

  5. Tracing and Logging Technologies on Windows. Part 2 - Simple Ways Tracing in the Kernel Mode
  6. The series of articles covers most aspects of logging and tracing mechanisms which can be embedded into your application. In this second article, we look at some simple tracing ways of the kernel drivers and figure out how to use them in the C++ or C# applications to collect data.

  7. Tracing and Logging Technologies on Windows. Part 3 - User Mode Handles in the Kernel
  8. On the first article we discuss redirecting output from the console of the application into files or pipes. In this article we showing how to pass those handles to the drivers. Discovers underwater stones and possible issues which are related to our target. Related examples implemented in C++ and C#.

  9. Crypt Library Demo - The Basics of Microsoft CryptoAPI Library
  10. The article discusses the concept of cryptography and its application in ensuring data security.

WPF user control vs. Windows Form user control

find and convert good control for my own use,,,

  1. WPF vs. WinForms
  2. The single most important difference between WinForms and WPF is the fact that while WinForms is simply a layer on top of the standard Windows controls (e.g. a TextBox), WPF is built from scratch and doesn't rely on standard Windows controls in almost all situations. This might seem like a subtle difference, but it really isn't, which you will definitely notice if you have ever worked with a framework that depends on Win32/WinAPI.

  3. What is WPF?
  4. WPF, which stands for Windows Presentation Foundation, is Microsoft's latest approach to a GUI framework, used with the .NET framework.

  5. Creating & using a UserControl
  6. User controls, in WPF represented by the UserControl class, is the concept of grouping markup and code into a reusable container, so that the same interface, with the same functionality, can be used in several different places and even across several applications.

  7. Creating and consuming a custom WPF control
  8. Whenever a new technology comes along, I personally find that the best way to get to grips with its functionality is to try and create something you have done in another language. To this end, this article will describe how to create a custom control in WPF which will raise custom events. The custom control will then be placed with a standard XAML window and the custom control's events shall be subscribed to. That's it in a nutshell. But along the way there are several things that I would like to point out to you.

  9. How to Create a WPF User Control & Use It in a WPF Application ( C# )
  10. Creating a WPF User Control & using it in a WPF application ( C# )

  11. Opacity of Forms in C#
  12. Learn more about changing the opacity of forms, using C#.

  13. Interpolate 2D Points Using Bezier Curves in WPF
  14. Describe an algorithm to get Bezier curves from a set of points. This curve will pass through all the points and will have a smooth factor. In the case of the article, this is implemented in WPF, but also I've updated the article with some implementations made in JavaScript, which can be used in Web or Mobile apps based on JavaScript.

  15. Opacity of Forms in C#
  16. Learn more about changing the opacity of forms, using C#.