Friday, December 31, 2021

app.config file in C# project

app config under solution app.config

  1. How to: Add an application configuration file to a C# project
  2. By adding an application configuration file (app.config file) to a C# project, you can customize how the common language runtime locates and loads assembly files. For more information about application configuration files, see How the runtime locates assemblies (.NET Framework)..

    When you build your project, the development environment automatically copies your app.config file, changes the file name of the copy to match your executable, and then moves the copy to the bin directory.

  3. Configuration file schema for the .NET Framework
  4. Configuration files are standard XML files that you can use to change settings and set policies for your apps. The .NET Framework configuration schema consists of elements that you can use in configuration files to control the behavior of your apps. The table of contents for this section reflects the schema hierarchy for startup, runtime, network, and other types of configuration settings.

    For information about the types, format, and location of configuration files, see Configure apps. Familiarize yourself with XML if you want to edit the configuration files directly.

  5. Configuring Apps by using Configuration Files
  6. The .NET Framework, through configuration files, gives developers and administrators control and flexibility over the way applications run. Configuration files are XML files that can be changed as needed. An administrator can control which protected resources an application can access, which versions of assemblies an application will use, and where remote applications and objects are located. Developers can put settings in configuration files, eliminating the need to recompile an application every time a setting changes. This section describes what can be configured and why configuring an application might be useful..

  7. Manage application settings (.NET)
  8. Application settings enable you to store application information dynamically. Settings allow you to store information on the client computer that should not be included in the application code (for example a connection string), user preferences, and other information you need at run time.

    Application settings replace the dynamic properties used in earlier versions of Visual Studio.

    Configure Form Appearance

  9. Adjusting the size and scale of Windows Forms
  10. This topic provides links to information about resizing Windows Forms..

  11. Windows Forms Add Configuration Element
  12. The <add > element adds a predefined key that specifies whether your Windows Form app supports features added to Windows Forms apps in the .NET Framework 4.7 or later.

  13. High DPI support in Windows Forms
  14. Starting with the .NET Framework 4.7, Windows Forms includes enhancements for common high DPI and dynamic DPI scenarios. These include:

    1. Improvements in the scaling and layout of a number of Windows Forms controls, such as the MonthCalendar control and the CheckedListBox control.
    2. Single-pass scaling. In the .NET Framework 4.6 and earlier versions, scaling was performed through multiple passes, which caused some controls to be scaled more than was necessary.
    3. Support for dynamic DPI scenarios in which the user changes the DPI or scale factor after a Windows Forms application has been launched.

    In versions of the .NET Framework starting with the .NET Framework 4.7, enhanced high DPI support is an opt-in feature. You must configure your application to take advantage of it..

  15. Windows Forms Configuration Section
  16. Windows Forms configuration settings allow a Windows Forms app to store and retrieve information about customized application settings such as multi-monitor support, high DPI support, and other predefined configuration settings.

    Windows Forms application configuration settings are stored in an application configuration file's System.Windows.Forms.ApplicationConfigurationSection element...

  17. Adjusting the size and scale of Windows Forms
  18. This topic provides links to information about resizing Windows Forms..

    In This Section
    1. How to: Resize Windows Forms Provides instructions for specifying the size of Windows Forms.
    2. Automatic Scaling in Windows Forms Discusses how automatic scaling enables a form and its controls to be displayed appropriately between machines.
    3. High DPI Support in Windows Forms Discusses Windows Forms' support for High DPI and dynamic scaling.
  19. Changing the Appearance of Windows Forms
  20. You can customize the look of your Windows Forms applications in many different ways, such as changing the border, opacity, shape, style, or setting a background image for your Windows Forms application..

  21. How to: Change the Borders of Windows Forms
  22. You have several border styles to choose from when you are determining the appearance and behavior of your Windows Forms. By changing the FormBorderStyle property, you can control the resizing behavior of the form. In addition, setting the FormBorderStyle affects how the caption bar is displayed as well as what buttons might appear on it. For more information, see FormBorderStyle..

  23. App.Config: Basics and Best Practices
  24. In one of my previous posts, I wrote about the .NET build configuration system. I mentioned the app.config file, but didn’t really dive into it. So let’s take a closer look at this file now. When you create a (non-web) .NET Framework application in Visual Studio, an app.config file is added to your project. When you create a class library or a .NET Core project, such a file is not included, although it can be done afterward..

  25. What is App.config in C#.NET? How to use it?
  26. Is there a way to prompt the user to set a path once after the setup of the application is completed?

  27. Override the app.config File in a Test Studio Project
  28. I would like Visual Studio to load the app.config file to get its run-time configuration settings..

  29. Understanding & Using AppConfig File
  30. Understanding & Using AppConfig File.

  31. Multiple app.config in C# Solution based on Build Selection
  32. In few projects I came across, I observed there is been a trend where based on the project build settings the application config settings can be tweaked, as commonly found in ASP MVC applications template..

  33. Read AppSettings value from App.Config file using C# and VB.Net
  34. Here Mudassar Ahmed Khan has explained how to read values of AppSettings from App.Config file using C# and VB.Net.

  35. How to select different app.config for several build configurations
  36. Multiple app.config files for deploying to different environments.

  37. Managed App Configuration
  38. Learn the basics of Managed App Configuration and how your app users could benefit

  39. Web.config Vs App.config Vs Machine.config
  40. will let you know why we use it. As you know all are configuration files which are used to store the data which would be key –value.

    As per security purpose this data is known as secure data because it cannot be hacked by some external resource directly. So, let's start one by one to know more about these configuration files...

  41. Multiple App.config in a Solution
  42. Symptom: You get the following pop-up message that prompts you to check your application configuration:

    “The request could not be performed because required configuration settings are missing. Please contact your administrator to fetch the latest configurations files”.

    Solution: This issue occurs due to the presence of multiple App.config files in the solution. The App.config that holds all the required configuration for a GWM based solution to work is stored inside the SAP Service Reference folder under the project file. For running a GWM based solution you need to either have only one App.config file, or specifically load the GWM config file as and when needed..

    Misc.

  43. .NET/.NET Core
  44. .NET is a free, cross-platform, open-source developer platform for building many different types of applications..

solution file in C# project

  1. Create, work with, and delete Visual Studio projects and solutions
  2. In this article, you'll learn how to create and use Visual Studio projects from scratch to store the artifacts you need to build your apps. If you aren't familiar with projects in Visual Studio, see this overview of Projects and Solutions. To learn how to quickly create a project from a template, see Create a project from a template.

    Projects hold the items needed to build your app in Visual Studio, such as source code files, bitmaps, icons, and component and service references. When you create a new project, Visual Studio creates a solution to contain the project. You can then add other new or existing projects to the solution if you want. You can also create blank or empty solutions. Solutions can also contain files that aren't connected to any specific project..

  3. image upload
  4. good srevice to use.

  5. Creating and editing solution files with the .NET CLI
  6. With the release of Visual Studio 2017 and the RTM .NET Core tooling, the .NET command line has gone through a transformation. The project.json format is no more, and instead we have returned back to .csproj files. It's not your grand-daddy's .csproj however - the new .csproj is far leaner than previous MSBuild files, and massively reduces the reliance on GUIDs.

    One of the biggest reasons for this is the need to make the files easily editable by hand. With .NET Core being cross platform, relying on Visual Studio to edit the files correctly with the magic GUIDs is no longer acceptable.

  7. Chapter 1. Solutions and Projects
  8. Solutions A solution contains a collection of projects, along with information on dependencies between those projects. The projects themselves contain files. This structure is illustrated in Figure 1-1. You can have as many projects as you like in a solution, but there can be only one solution open at a time in a particular instance of VS.NET. (You can, of course, open multiple solutions by running multiple instances of VS.NET.).

  9. Generate Solution File From List of CSProj
  10. How to create solution file in visual studio 2017 for existing project Create solutions and projects, Create a solution · Open Visual Studio. · On the top menu bar, choose File > New > Project. The New Project dialog box opens. · In the left pane, The first thing you need to do with Visual Studio is click File/New Project. Name it whatever you would like and choose the directory where you want the solution file to exist. Under ‘Installed Templates’, choose ‘Other Project Types/Visual Studio Solutions’. The only item in the main window should be ‘Blank Solution.

  11. Common Files In A .NET Solution

    Common Files In A .NET Solution.

Tuesday, December 28, 2021

API key and data retrieve

API key and data retrieve

keyword: stock market API

    Search Results

  1. Best 5 free stock market APIs in 2020
  2. The financial APIs market grows so quickly that last year’s post or platform is not a good choice this year. So in this story, I will show you the best 5 stock market APIs that I use in 2019..

  3. 12 Best Stock Market APIs to Build Financial Products
  4. The stock market industry has witnessed huge technological adoption in recent years..

  5. Best 6 stock market APIs for 2020
  6. Although the cost of servers and technology have gone down significantly in the past decade, cost of market data (stock API) keeps going up year after year. It's extremely challenging to find good and clean data for US markets and global markets. Below are a list of good stock API that we have curated at Columbia University and are widely used amongst member of our quant trading community..

  7. Best Stock APIs and Industry Landscape in 2021
  8. The stock API industry, and financial data in general, have nuances that explain quality, evolution, and how knowing this can benefit your algorithms..

  9. Top Stock Market API Providers – A Guide for Investors
  10. A review of the top-notch stock APIs in 2020-2021 for tech-savvy investors, asset managers, and software developers.

  11. What is the best stock market API?
  12. 5 good list and I reviewed all of them. twelve data is new and seems a good one.

    MarketStack Info

  13. log in page
  14. log in page.

  15. Real-Time, Intraday & Historical Market Data API
  16. Free, easy-to-use REST API interface delivering worldwide stock market data in JSON format

  17. API Documentation
  18. Welcome to the marketstack API documentation! In the following series of articles you will learn how to query the marketstack JSON API for real-time, intraday and historical stock market data, define multiple stock symbols, retrieve extensive data about 70+ stock exchanges, 170.000+ stock tickers from more than 50 countries, as well as 750+ market indices, information about timezones, currencies, and more.

    Our API is built upon a RESTful and easy-to-understand request and response structure. API requests are always sent using a simple API request URL with a series of required and optional HTTP GET parameters, and API responses are provided in lightweight JSON format. Continue below to get started, or click the blue button above to jump to our 3-Step Quickstart Guide.

    Real-time data vendors

  19. 30+ years of data Financial Data APIs
  20. 10K request per day.

  21. FMP: Financial data for every needs.
  22. Enchance your application with our data that goes up to 30 years back in history. Earnings calendar, financial statements, multiple exchanges and more!.

  23. FMP login/sign up page
  24. FMP login/sign up page.

  25. FMP register page
  26. FMP register page

  27. FMP documentation
  28. on the left section, it contains stock price APIs. you can find real-time price info.

  29. How to create a Financial Modeling Prep Account
  30. Summary: We are the most accurate financial data API out there. To make it simple we are a free stock API, historical data API, financial statements API. We update our financial statements in real-time, every statement is audited, standardized, and up to date. We cover NYSE, NASDAQ, AMEX, EURONEX, TSX, INDEXES, ETFs, MUTUAL FUNDS, FOREX and CRYPTO. We have real-time stock prices, and we cover the fundamental data of stocks by providing income statements, balance sheet statements and cash flow statements quarterly and annually. This article is a guide to help you get started on the Financial Modeling prep platform. In the guide we cover:

    1. Create a Financial Modeling Prep Login
    2. Select a Plan
    3. Explore the platform.

    Create a Financial Modeling Prep Login To create a login head to this link and select your method of creating an account. If you have a google account (your Gmail or Gdrive account) then the quickest way to create a login is by simply clicking the Google button. If you don’t want to link your Google account to Financial Modeling Prep or you don’t have a Google account then click the “Sign Up” button at the bottom of the login screen.

    Creating your initial account doesn’t require any credit card, bank account, or other sensitive information. It simply requires your email address and password of your choosing.

    Once you’ve created your login you will receive an email confirmation and be ready to start using Financial Modeling Prep’s APIs.

    Select a Plan To start using the Financial Modeling Prep stock API, Historical data API, and Financial statements API you will need to select a plan. The paid plans can be purchased using a credit card or Paypal. With all our plans you will save significantly by purchasing an annual plan rather than paying month-to-month (we are confident that you’ll stick with our API for at least a year!). It’s also worth knowing that you can cancel your plan at any time.

    Explore the Platform The first thing you’ll want to explore is the plethora of APIs at your disposal. Head to this link to find all the different data that you can pull from the platform. This ranges from financial statements to stock market data. If you’re unfamiliar with the format we use then how-to call the Financial Modeling Prep API to learn more. To see your account details click the dashboard button to review your API key code, your payment information, and details about your plan. We have a tonne of resources available that will help you understand our API and speed up your work with ready-made packages. The changelog gives you the information about our most recent updates and newest endpoints for your convenience. The formulas page gives you details about how we calculate any formulas that the API provides so that you can improve your understanding of the platform. Finally, the other section of our platform provides the latest news in the finance world and we’ve got educational articles to aid your understanding of the finance world.

  31. MatthiWare/FinancialModelingPrep.NET
  32. FMP source code on GitHub.

  33. FMP: Resources for developers
  34. These resources will help you better understand our api and speed up your work with ready to use packages...

    Digital Real Estate

  35. How To Buy Land in the Metaverse
  36. Metaverse real estate has really been setting the world on fire lately, but buying it isn't like buying real estate in the real world. Here's how to do it..

    Twelve data info

  37. get API key
  38. Register on this page and then get API key.

  39. Financial Data that drives your success
  40. homepage.

  41. twelve data documentation
  42. pay attention to web socket. it can be used to get real-time streaming data

  43. How to stream the data
  44. There are several options for obtaining the data in Twelve Data. They can be divided into two categories: long-polling via API and server-push via WebSocket. In the second scenario, the server will automatically send the data to the client once it is available, so the client will always stay with the latest information.

    This tutorial will cover establishing the connection and start receiving the data in a few easy steps.
    1. Open a connection.
    2. Send subscribe event.
    3. Manipulate the data.
    4. Close the connection.

    You can use any programming language or plugin of your choice. Here for the sake of simplicity, we will be using the WebSocket playground.

  45. WEb socket document:
  46. WebSocket will automatically send the data to you once a new piece of data is available on the exchange. In the beginning, you need to establish a connection between the server and the client. Then all data is controlled by sending event messages to the server. WebSocket is opposed to the API, where the data has to be explicitly requested from the server.

    You may use the API key to connect to the Twelve Data Distributed WebSocket System (TDDWS). This system will manage all your requests to all available instruments across different exchanges. You can establish up to 3 connections (typically used in production, stage, and local environments) across the whole lifespan of the application; if you open more, the previous connections will be closed.

    You may subscribe to all symbols available at Twelve Data; meanwhile, the format remains the same as the API unless there are constraints in the endpoint. Moreover, you may combine symbols across different types, and TDDWS will manage the routing. There are some limitations, though:

    Resources

  47. developer section contains all info for programming
  48. developer section contains all info for programming

  49. Log in and sign up page
  50. free package contains websocket credit.

Wednesday, December 22, 2021

OOP example

OOP example

  1. Henry's Game
  2. Simple OO to make a game.

  3. Jaxcoder
  4. There is a small project named codekeeper. can take a quick look.

  5. This is a paragraph.

  6. This is a paragraph.

  7. This is a paragraph.

  8. This is a paragraph.

  9. This is a paragraph.

  10. This is a paragraph.

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

Friday, December 10, 2021

OEM version installation

key#:microsoft oem preinstallation tools windows 10

  1. What are OEM pre-installation tools
  2. I just purchased a windows 10 OEM system builder DVD from amazon, for use on a custom built PC, and am unsure of what this bit of text on the front of the DVD package means:.

    FWIW I've installed a lot of OEM versions of Windows 7 and never had to deal with any kind of pre-installation packs. I did have to make sure I had all the right drivers from the makers of my motherboard and any additional hardware I added. With Windows 10 though I just download the insider builds on my desktops, and my laptop came with 10 pre-installed.

  3. Do i need to format my drives before i install windows
  4. Not manually, no.

    Windows will do the necessary formatting as part of the installation process.

    Disconnect all drives other than the 1 to receive Windows before you begin..

  5. Windows 10 OEM install issues
  6. If you have purchased a Windows 10 OEM software as shown in the example below and you are having trouble getting your product key to work, it may be due to a simple missed step..

  7. Windows 10 oem/retail activation
  8. I bought an OEM w10 license on Amazon. This pc doesn't have a disk drive, So I ran the Media creation tool and installed windows from a flash dirve..

  9. USB Drive Formats For Windows 10 Installation Media
  10. Do we have to format USB drives to FAT32 format to create Windows 10 installation media like we do with USB drives we use for BIOS updates?

    I read through the instructions on Microsoft's website, and it doesn't seem to specify. My motherboard manual didn't specify either, but it didn't work when I didn't format to fat32 and it worked the 2nd time using a different USB that I formatted to fat32... so this is why I'm asking..

  11. Can I use OEM Windows Server 2019?
  12. have bought a used server and looking to install Windows Server 2019 Standard on it. I have looked online and I cannot, for the life of me, find Windows Server 2019 Std RETAIL.

    As such, can I legitimately buy Windows Server 2019 OEM and use it on a used server and still be covered by Microsoft Licensing?

  13. Windows Server License vemdor
  14. can call them.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.

  23. This is a paragraph.

  24. This is a paragraph.

  25. This is a paragraph.

DOGE

DOGE

  1. How to Buy Dogecoin (DOGE) – A Beginner’s Guide From 7 Ways to Buy Dogecoin instantly (2021 Updated) - Beginner's Guide https://99bitcoins.com/buy-dogecoin/
  2. Dogecoin is one of the oldest cryptocurrencies around. While it started out as a joke it quickly gained a lot of traction and a loyal community. In this post I’ll explain a bit about what Dogecoin is and how you can buy it online. From 7 Ways to Buy Dogecoin instantly (2021 Updated) - Beginner's Guide https://99bitcoins.com/buy-dogecoin/.

  3. JUST RECEIVED YOUR DEVICE? FOLLOW THESE 4 STEPS TO GET STARTED.
  4. get stated on Nano X.

    Go Further: Send your crypto assets from exchanges to your device

  5. How to set up your Nano X from youtube
  6. How to set up your Nano X.

  7. Set up your Ledger Nano X
  8. Set up your Ledger Nano X as a new device to get started. It will generate new private keys so you can manage your crypto assets. You will also write down a new 24-word recovery phrase.

    Alternatively, restore your device from a recovery phrase to recover the private keys linked to an existing recovery phrase.

    When you are not using your Ledger Nano X, please be sure to lock it to ensure that no one else can use your device..

  9. Ledger Nano S vs. X
  10. Nano S and Nano X are crypto hardware wallets offering cold, offline storage. Built by Ledger, a well-known French manufacturer, these wallets keep cryptocurrency secure and support over 1,800 coins and tokens. However, the Nano S is made for people who want to hold onto a small amount of crypto, whereas Nano X is better for active investors with diverse crypto holdings..

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.

  23. This is a paragraph.

Tuesday, November 30, 2021

Case Study 17: Business Rule Engines

Case Study 17: Business Rule Engines

  1. Business Rule Engine list
  2. Business Rule Engine list.

  3. NRules - Rules engine for .NET, based on the Rete matching algorithm, with internal DSL in C#.
  4. NRules is an open source production rules engine for .NET, based on the Rete matching algorithm. Rules are authored in C# using internal DSL. Use the following resources to get up and running with NRules.

  5. NRules/NRules : Getting Started
  6. This guide shows step by step how to install and use NRules rules engine.

  7. Rete algorithm
  8. The Rete algorithm (/ˈriːtiː/ REE-tee, /ˈreɪtiː/ RAY-tee, rarely /ˈriːt/ REET, /rɛˈteɪ/ reh-TAY) is a pattern matching algorithm for implementing rule-based systems. The algorithm was developed to efficiently apply many rules or patterns to many objects, or facts, in a knowledge base. It is used to determine which of the system's rules should fire based on its data store, its facts. The Rete algorithm was designed by Charles L. Forgy of Carnegie Mellon University, first published in a working paper in 1974, and later elaborated in his 1979 Ph.D. thesis and a 1982 paper.[1].

  9. C# (CSharp) NRules.Fluent RuleRepository Examples
  10. C# (CSharp) NRules.Fluent RuleRepository - 9 examples found. These are the top rated real world C# (CSharp) examples of NRules.Fluent.RuleRepository extracted from open source projects. You can rate examples to help us improve the quality of examples..

  11. Does anyone have a working example of dynamic NRules?
  12. I'm looking for a working example of dynamic NRules. Actually, I want to write the rules in a notepad file and want to read them at runtime..

  13. NRules/NRules
  14. conversations.

  15. How to store rule and action in database using nRule
  16. I want to create application in c# where user can create rule and action though user interface and can save the rule and action in database or XML. Is is possible to store these rules and actions in database by using NRule..

  17. SimpleRules.Net - Easy to use Rules Engine
  18. SimpleRules.Net is a rules engine that works based on attributes decorated on the properties of a class.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.

  23. This is a paragraph.

  24. This is a paragraph.

  25. This is a paragraph.

  26. This is a paragraph.

  27. This is a paragraph.

Friday, November 26, 2021

Case Study 16: ALMA

keyword:MACD

first 1-4 pages need to browse more.

    MY Target

  1. ALMA
  2. get this book.

  3. Stock Indicators
  4. Send in historical price quotes and get back desired technical indicators. Nothing more.

  5. KAMA indicator
  6. .NET library.

  7. KAMA
  8. detailed KAMA.

  9. ALL technical indicator on NET
  10. Excel books.

  11. check out link for Excel indicator
  12. Registered.

  13. ZLEMA
  14. Zero Lag EMA Trading Strategy.

    Good Books

  15. My Search on Amazon
  16. buy these books from amazon from first 4 pages.5-10 pages have been browsed and sifted: no much good stuff left...

  17. Swing Trading Indicators: How to Use Bollinger Bands, Moving Average Convergence/Divergence (MACD), and Relative Strength Index (RSI) for Successful Swing Trading Kindle Edition
  18. Swing Trading Indicators: How to Use Bollinger Bands, Moving Average Convergence/Divergence (MACD), and Relative Strength Index (RSI) for Successful Swing Trading Kindle Edition

  19. How to use MACD: Known and learn the right time to use Macd tool. (The secret of Candlestick.) [Print Replica] Kindle Edition
  20. How to use MACD: Known and learn the right time to use Macd tool. (The secret of Candlestick.) [Print Replica] Kindle Edition.

  21. Swing Trading Classified: Hidden Techniques to Profit from Outstanding Short-Term Trading Opportunities Kindle Edition
  22. Swing Trading Classified: Hidden Techniques to Profit from Outstanding Short-Term Trading Opportunities Kindle Edition.

  23. Backtrader Back-test Trading: Blitz Challenge: Back-test Trading in One Day Kindle Edition
  24. Backtrader Back-test Trading: Blitz Challenge: Back-test Trading in One Day Kindle Edition.

  25. The Supertrend Indicator: The Definitive Guide Kindle Edition
  26. The Supertrend Indicator: The Definitive Guide Kindle Edition.

  27. Profitable day and Swing Traiding: Price and volume Kindle Edition
  28. Profitable day and Swing Traiding: Price and volume Kindle Edition.

  29. Dear Traders, There is Magic in RSI: RSI Tells the Secrets, Are You Listening? Kindle Edition
  30. Dear Traders, There is Magic in RSI: RSI Tells the Secrets, Are You Listening? Kindle Edition.

  31. https://www.amazon.com/Price-Action-Trading-Strategy-Beginners-ebook/dp/B08YLRZW6N/ref=sr_1_139?keywords=macd&qid=1637957164&s=books&sr=1-139&asin=B08YLRZW6N&revisionId=&format=4&depth=1
  32. touch on fibnacci retracement..

  33. How to use MACD: Known and learn the right time to use Macd tool. (The secret of Candlestick.) [Print Replica] Kindle Edition
  34. How to use MACD: Known and learn the right time to use Macd tool. (The secret of Candlestick.) [Print Replica] Kindle Edition.

  35. This is a paragraph.

  36. This is a paragraph.

  37. This is a paragraph.

black Friday gifts

black Friday gifts

  1. Empowered PC Sentinel B460 Custom Gaming Desktop Computer
  2. Empowered PC Sentinel B460 Custom Gaming Desktop Computer.

  3. good gaming computers
  4. good configurations to look at it.

  5. How to Connect a Windows Laptop to a TV over HDMI
  6. How to Connect a Windows Laptop to a TV over HDMI.

  7. This is a paragraph.

  8. This is a paragraph.

  9. This is a paragraph.

  10. This is a paragraph.

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

LiteDB & infile database

infile database

  1. metastrings: A Simple File-based Dynamic NoSQL Database
  2. Learn about the inner workings of a dynamic database, and how SQLite is a great fit.

  3. 4db: A Dynamic File-based NoSQL Database for C++
  4. Wanna add basic database functionality to your C++ app? Too lazy to use SQLite directly? Read on!.

  5. LiteDB
  6. Embedded NoSQL database for .NET.

  7. NoSQL - Second Generation Database
  8. An introduction of Unstructured Data or Document Database.

  9. LiteDB - A .NET NoSQL Document Store in a single data file
  10. A simple, fast and free embedded .NET NoSQL Document Store in a single data file. Inspired on MongoDB, supports collections, POCO classes, Bson Documents, indexes, stream data and LINQ expressions..

  11. Out WITH RAVEN embedded In with litedb
  12. Out WITH RAVEN embedded In with litedb.

  13. How to work with LiteDB in C#
  14. Take advantage of the fast, lightweight, and easy-to-use LiteDB for your desktop, mobile, and simple web applications.

    offical LiteDB site

  15. mbdavid/LiteDB.Studio
  16. mbdavid/LiteDB.Studio.

  17. offical site for LiteDB
  18. Embedded NoSQL database for .NET

  19. mbdavid/LiteDB
  20. LiteDB v5. ompare with offical version site

  21. mbdavid/LiteDB
  22. LiteDB - A .NET NoSQL Document Store in a single data file.

  23. Getting Started With LiteDB
  24. good example.

  25. Getting Started
  26. official document

  27. liteDB DLL
  28. download it.

    Video tutorial

  29. Getting started with LiteDB and NoSQL in .Net and C# - part1
  30. Getting started with LiteDB and NoSQL in .Net and C# - part1

  31. [PART 2] CONNECTING DATABASE LITE-DB - FINANCE MANAGER SYSTEM C# BUNIFU,
  32. [PART 2] CONNECTING DATABASE LITE-DB - FINANCE MANAGER SYSTEM C# BUNIFU,.

  33. LiteDB for dummies
  34. LiteDB for dummies.

    Hands-On

  35. How to use LiteDB Manager
  36. This post shows you How to Download and Use LiteDB Manager to Open NoSQL database LiteDB. LiteDB Manager is a free tool allows you to read NoSQL database LiteDB. This tool was created by Yushell Darwich and it is very useful..

  37. Windows Forms: Getting Started with LiteDB database in C#
  38. his post shows you How to use NoSQL Database in C# using LiteDB database..

  39. Wiki for LiteDB
  40. LiteDB - A .NET NoSQL Document Store

  41. Getting Started with LiteDB
  42. Every project you do will have data and eventually you’re going to need to store that data somewhere..

  43. USING NOSQL DATABASE WITH DOTNET CORE EXAMPLE | C# | LITEDB | TUTORIAL
  44. One of the very first choices to make when start developing an application is whether to use a SQL or NoSQL Database. Organizing data is a very hard task. When we say organise, we are actually categorising our data according to its type..

  45. This is a paragraph.

Thursday, November 18, 2021

Release optimization

Release optimization

  1. Aggressive Optimizations for Visual C++
  2. Save time and space in your release builds - fight bloatware!

  3. This is a paragraph.

  4. This is a paragraph.

  5. This is a paragraph.

  6. This is a paragraph.

  7. This is a paragraph.

  8. This is a paragraph.

  9. This is a paragraph.

  10. This is a paragraph.

  11. This is a paragraph.

  12. This is a paragraph.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

Wednesday, November 17, 2021

__stdcall

calling convention explained

  1. Calling Conventions Demystified
  2. Visual C++ calling conventions explained.

  3. Calling Conventions
  4. Calling Conventions. good history.

  5. x86 Disassembly/Calling Conventions
  6. Calling conventions are a standardized method for functions to be implemented and called by the machine. A calling convention specifies the method that a compiler sets up to access a subroutine. In theory, code from any compiler can be interfaced together, so long as the functions all have the same calling conventions. In practice however, this is not always the case..

  7. __stdcall
  8. The __stdcall calling convention is used to call Win32 API functions. The callee cleans the stack, so the compiler makes vararg functions __cdecl. Functions that use this calling convention require a function prototype. The __stdcall modifier is Microsoft-specific..

    The /Gz compiler option specifies __stdcall for all functions not explicitly declared with a different calling convention.

    For compatibility with previous versions, _stdcall is a synonym for __stdcall unless compiler option /Za (Disable language extensions) is specified.

  9. what does WINAPI stand for
  10. I've started to learn Win32 API in C. I saw that the main function is something like

    int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { .. }

    but I know that a function in C is like

    [ReturnType] [FunctionName] (Args) { .. }
    In this case the return type is int and the function name is WinMain. So what does the WINAPI stand for and is it necessary?.

  11. Using Win32 calling conventions
  12. When writing code for the Win32 platform, most developers don't pay attention to selecting a "calling convention", and in most cases it doesn't really matter much. But as systems get larger and split into more modules (especially when third-party modules are to be included), this becomes something that cannot really be ignored..

    In this Tech Tip, we discuss what the MSVC calling conventions are, why to choose one over the other, and "big system" considerations that may not be obvious.

  13. Intel x86 Function-call Conventions - Assembly View
  14. One of the "big picture" issues in looking at compiled C code is the function-calling conventions. These are the methods that a calling function and a called function agree on how parameters and return values should be passed between them, and how the stack is used by the function itself. The layout of the stack constitutes the "stack frame", and knowing how this works can go a long way to decoding how something works.

    In C and modern CPU design conventions, the stack frame is a chunk of memory, allocated from the stack, at run-time, each time a function is called, to store its automatic variables. Hence nested or recursive calls to the same function, each successively obtain their own separate frames.

    Physically, a function's stack frame is the area between the addresses contained in esp, the stack pointer, and ebp, the frame pointer (base pointer in Intel terminology). Thus, if a function pushes more values onto the stack, it is effectively growing its frame..

    This is a very low-level view: the picture as seen from the C/C++ programmer is illustrated elsewhere: • Unixwiz.net Tech Tip: Intel x86 Function-call Conventions - C Programmer's View For the sake of discussion, we're using the terms that the Microsoft Visual C compiler uses to describe these conventions, even though other platforms may use other terms.

  15. x86 calling conventions
  16. This article describes the calling conventions used when programming x86 architecture microprocessors.

    Calling conventions describe the interface of called code:

    1. The order in which atomic (scalar) parameters, or individual parts of a complex parameter, are allocated
    2. How parameters are passed (pushed on the stack, placed in registers, or a mix of both)
    3. Which registers the called function must preserve for the caller (also known as: callee-saved registers or non-volatile registers) How the task of preparing the stack for, and restoring after, a function call is divided between the caller and the callee.

  17. Win32 API: Calling Convention - 2020
  18. A calling convention is a scheme for how functions receive parameters from their caller and how they return a result. The calling conventions can differ in where parameters and return values are placed (in registers; on the call stack; a mix of both), the order they are placed.

    WIN32 introduction

  19. WINAPI introduction: very good
  20. Win32 API

    1. Win32 API - Introduction
    2. Win32 API - C Run Time Libraries
    3. Calling Conventions
    4. Win32 API - DLL
    5. Win32 API - MFC
    6. Kernel Objects, Handles, and Synchronization.

  21. Calling convention
  22. The calling convention states how arguments (parameters) are passed to a function and how the caller receives a return value. Amont others, the convention regulates if those values are passed via CPU registers and/or via the stack and which registers are guaranteed to preserve their values accross function calls.

  23. When to use WINAPI, CALLBACK and _stdcall _cdecl _pascal usage differences summary
  24. When to use WINAPI, CALLBACK and _stdcall _cdecl _pascal usage differences summary

  25. Win32 calling conventions: Usage cases
  26. Last time, I talked about some of the general concepts behind the varying calling conventions in use on Win32 (x86). This posting focuses on the implications and usage cases behind each of the calling conventions, in an effort to provide a better understanding as to when you’ll see them used..

  27. What are the different calling conventions in C/C++ and what do each mean?
  28. There are different calling conventions available in C/C++: stdcall, extern, pascal, etc. How many such calling conventions are available, and what do each mean? Are there any links that describe these?.

  29. This is a paragraph.

  30. This is a paragraph.

  31. This is a paragraph.

  32. This is a paragraph.

  33. This is a paragraph.

  34. This is a paragraph.

Visual Studio Tips & Tricks

Visual Studio Tips & Tricks

  1. Visual studio slow on keyboard, keyboard lag and randomly duplicating keystrokes from keyboard input
  2. Visual studio slow on keyboard, keyboard lag and randomly duplicating keystrokes from keyboard input.

  3. voidtools
  4. very good tool to find any file.

  5. Visual Studio 2017: Ending the line-ending wars
  6. I write a lot of software in C# using Visual Studio 2017, and about a month ago, Visual Studio and git started arguing over how the .cs source files were formatted with respect to line endings.

    We all know that UNIX uses just a newline (linefeed) to end each line, while DOS traditionally uses CR+LF to end lines, and Visual Studio is supposed to be squarely in the DOS world, but for whatever reason, I started getting these messages:.

  7. Create portable, custom editor settings with EditorConfig
  8. You can add an EditorConfig file to your project or codebase to enforce consistent coding styles for everyone that works in the codebase. EditorConfig settings take precedence over global Visual Studio text editor settings. This means that you can tailor each codebase to use text editor settings that are specific to that project. You can still set your own personal editor preferences in the Visual Studio Options dialog box. Those settings apply whenever you're working in a codebase without an .editorconfig file, or when the .editorconfig file doesn't override a particular setting. An example of such a preference is indent style—tabs or spaces.

    EditorConfig settings are supported by numerous code editors and IDEs, including Visual Studio. It's a portable component that travels with your code, and can enforce coding styles even outside of Visual Studio.

  9. Code style rule options
  10. You can define and maintain consistent code style in your codebase by defining .NET code style rule options in an EditorConfig file. These rules are surfaced by various development IDEs, such as Visual Studio, as you edit your code. For .NET projects, these rules can also be enforced at build time. You can enable or disable individual rules and configure the degree to which you want each rule enforced, via a severity level..

  11. How do I use editorconfig in Visual Studio 2019?
  12. I created .editorconfig file at solution level in VS 2019 with following settings:.

  13. What is EditorConfig?
  14. EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems..

  15. EditorConfig Language Service
  16. Language service for .editorconfig files. EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs..

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.

  23. This is a paragraph.

  24. This is a paragraph.

  25. This is a paragraph.

  26. This is a paragraph.

_MERGE_RDATA_ macro

_MERGE_RDATA_ macro

  1. Linker Tools Warning LNK4253
  2. section 'section1' not merged into 'section2'; already merged into 'section3'

    The linker detected multiple, conflicting merge requests. The linker will ignore one of the requests.

    A /MERGE option or directive is encountered and the from section has already been merged into a different section due to a previous /MERGE option or directive (or due to an implicit merge from the linker).

    To resolve LNK4253, remove one of the merge requests.

    When targeting x86 machines and Windows CE targets (ARM, MIPS, SH4, and Thumb) with Visual C++, the .CRT section is now read only. If your code depends on the previous behavior (.CRT sections are read/write), you could see unexpected behavior..

  3. /MERGE (Combine Sections)
  4. /MERGE:from=to.

    Remarks The /MERGE option combines the first section (from) with the second section (to), naming the resulting section to. For example, /merge:.rdata=.text.

    If the second section does not exist, LINK renames the section from as to.

    The /MERGE option is useful for creating VxDs and overriding the compiler-generated section names.

  5. Merge .rdata and .data sections into text section
  6. I have a program where I execute C++ code at run time, like in JIT. The program when run, creates C++ code on the fly, converts to LLVM IR and obj using LLVM. It then loads the text section and runs it. The programs runs fine when there is just one text section. I wanted to know how I can run it when there are .data/.rdata sections. Visual Studio linker has /MERGE when can merge .rdata to .text. How can I implement this - so that I can merge the sections in obj to just one text section?.

  7. The MASM Forum
  8. The MASM Forum.

  9. ASM Community
  10. ASM Community.

  11. Linker /MERGE in depth
  12. Linker /MERGE in depth.

  13. This is a paragraph.

  14. This is a paragraph.

  15. This is a paragraph.

  16. This is a paragraph.

  17. This is a paragraph.

  18. This is a paragraph.

  19. This is a paragraph.

  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.

  23. This is a paragraph.

  24. This is a paragraph.

Monday, November 15, 2021

Case Study 15: PE packer

Case Study 15: PE packer

  1. Basic Packers: Easy As Pie
  2. Throughout Trustwave SpiderLabs' many forensicinvestigations, we often stumble upon malicious samples that have been'packed'. This technique/concept can be unfamiliar tothe aspiring malware reverser or digital forensic investigator, so I thought itwould be fun to use this opportunity to talk about portable executable (PE) packersat a high level. If you already know what PE packers are and how they work,you're more than welcome to continue reading, however it's certainly possibleyou may not learn something new. Think of this as a 101 blog post..

  3. Creating Your Very Own x64 PE Packer/Protector from Scratch using C++
  4. This article brings you a very detailed but easy to learn experience on creating your own x64 PE packer/protector using only VC++!.

  5. Creating Shellcode from any Code Using Visual Studio and C++
  6. Learn how to convert any code to a stable shellcode using Visual Studio 2019 and VC++ in easy steps!.

  7. Protecting .NET 4.+ Application By C++ [Unmanaged]
  8. Inject your 4.5 framework .NET application into a C++ unmanaged host application - fast, secure & without any extra tool or library..

  9. Art of Anti Detection 3 – Shellcode Alchemy
  10. This article will deal with basic shellcoding and similar concepts, assembly level encoder/decoder design and few methods for bypassing anti exploit solutions such as Microsoft’s Enhanced Mitigation Experience Toolkit(EMET). .

  11. Art of Anti Detection 1 – Introduction to AV & Detection Techniques
  12. This blog post will explain effective methods for bypassing the static, dynamic and heuristic analysis of up to date anti virus products. Some of the methods are already known by public but there are few methods and implementation tricks that is the key for generating FUD (Fully Undetectable) malware, also the size of the malware is almost as important as anti detection, when implementing these methods i will try to keep the size as minimum as possible. this paper also explains the inner workings of anti viruses and windows operating system, reader should have at least intermediate C/C++ and assembly knowledge and decent understanding of PE file structure..

  13. Art of Anti Detection 2 – PE Backdoor Manufacturing
  14. This paper will explain several methods used for placing backdoors in PE (Portable Executable) files for red team purposes, in order to fully grasp the content of this paper, readers needs to have at least intermediate x86 assembly knowledge, familiarity with debuggers and decent understanding of PE file format..

  15. Art of Anti Detection 4 – Self-Defense
  16. Throughout the Art of Anti Detection series we have mainly looked at methods for bypassing automated security products, but in this part we will focus on several self-defense methods for protecting our foothold on the target machines against actual users. These users may be technically insufficient employees or they may be blue team members in a cyber incident division of a company. Our goal is to stay alive and hide our presence inside the target system without having any privileges. But before getting deeper i advise you to read the previous articles of this series, because these methods will include a lot of shellcoding and API hooking thus requires prior knowledge. Now lets get to it !.

  17. Introducing New Packing Method: First Reflective PE Packer Amber
  18. Because of the increasing security standards inside operating systems and rapid improvements on malware detection technologies today’s malware authors takes advantage of the transparency offered by in-memory execution methods. In-memory execution or fileless execution of a PE file can be defined as executing a compiled PE file inside the memory with manually performing the operations that OS loader supposed to do when executing the PE file normally. In-memory execution of a malware facilitates the obfuscation and anti-emulation techniques. Additionally the malware that is using such methods leaves less footprints on the system since it does not have to possess a file inside the hard drive. Combining in-memory execution methods and multi stage infection models allows malware to infect systems with very small sized loader programs; only purpose of a loader is loading and executing the actual malware code via connecting to a remote system. Using small loader codes are hard to detect by security products because of the purpose and the code fragments of loaders are very common among legitimate applications. Malware that are using this approach can still be detected with scanning the memory and inspecting the behaviors of processes but in terms of security products these operation are harder to implement and costly because of the higher resource usage (Ramilli, 2010[1])..

  19. czs108/PE-Packer
  20. PE-Packer is a simple packer for Windows PE files. The new PE file after packing can obstruct the process of reverse engineering..

  21. Writing a PE packer – Intro
  22. This is a tutorial to program a PE packer : we will learn about the PE file format, headers and the inner workings of loading and packing binaries.

  23. Writing a PE packer – Part 2 : imports and relocations
  24. This is the part 2 of our tutorial to write a PE packer on Windows : handling imports and relocations, to execute an ASLR enabled file..

  25. Writing a PE packer – Part 3 : packing with python
  26. We have everything ready to do the actual packing of an ASLR enabled PE32 file. We’ll turn our loader in an unpacking stub, and use python to create a packed binary.

  27. Writing a PE packer – Part 4 : packing with no relocation
  28. At the end of the last part, I drawed your attention toward the fact that Mingw32 doesn’t produce movable binaries: it cannot create relocation table. You can force it to put the “Dll can move” flag, but without a relocation table, this binary would not work. We are going to change our packer to handle such non movable binaries..

  29. Writing a PE packer – Part 5 : simple obfuscation
  30. In this tutorial, we are going to complete our packer with some very basic obfuscation, as a demonstration of the possibilities we have..

  31. Executable compression
  32. Executable compression is any means of compressing an executable file and combining the compressed data with decompression code into a single executable. When this compressed executable is executed, the decompression code recreates the original code from the compressed code before executing it. In most cases this happens transparently so the compressed executable can be used in exactly the same way as the original. Executable compressors are often referred to as "runtime packers", "software packers", "software protectors" (or even "polymorphic packers" and "obfuscating tools")..

  33. What it takes to write a simple PE file packer from scratch?
  34. I was wondering to ask here what it takes to write a tiny simple packer for PE files? I know how a PE file looks like but not in accurate details (if necessary I'll learn as much as it takes) and I know C/C++ and assembly but not as much as a pro..

    Good Try to Donate!

  35. Exeinfo PE for Windows by A.S.L.
  36. donate to give a try.

  37. Exeinfo PE for Windows by A.S.L.
  38. after donation, we can become a VIP. and download it from github from here.

  39. two questions about writing executable file packer
  40. I am trying to write my first PE packer with C++ , i studied about PE quite well and now i want to begin write my stub in pure assembly but i have two questions..

  41. phil993 / PE-Crypter
  42. PE-Crypter.

  43. huntergregal/peCrypter
  44. huntergregal/peCrypter.

  45. Eronana / packer
  46. This is a packer for exe under win32. You can use it to pack any 32-bit exe file..

  47. UPX
  48. UPX (Ultimate Packer for Executables) is an open source executable packer supporting a number of file formats from different operating systems.[3][4]

  49. upx/README.SRC
  50. The UPX Hacker's Guide

    Examples to dive

  51. Obsidium Product Information
  52. Obsidium is available for 32-bit (x86) and 64-bit (x64) Windows systems. While mostly identical, there are some minor differences. Please refer to this page for a comparison of the two versions.

    The 32-bit version and any protected executables it generates are fully compatible with any NT-based1 Windows operating system ranging from Windows NT 4 SP6 to Windows 10 (both 32- and 64-bit versions). It only supports protection of 32-bit executables..

  53. Top 13 popular packers used in malware
  54. Malware can wreak havoc on just about any system, and packers help malware stay one step ahead of security software. But what exactly do packers do? How can they be detected? And finally, what are some of the most popular packers used in malware today? .

  55. Write Your Own Unpacker
  56. This tutorial talks about writing a generic unpacker easily in 10 lines using pokas x86 Emulator.

    1. UPX 2.FSG, 3.MEW, 4.Aspack, 5. PECompact, 6. Morphine

  57. Protection Schemes Based on Virus Survival Techniques
  58. A Survey of Virus Survival Techniques Applied to Protection Schemes.

  59. Automated PE32 Threat Classification using Import Table and Deep Neural Networks
  60. In this research, we are going to prove that Import Address Table is very helpful in classifying a malware..

  61. How to make your own 100% FUD crypter with C++
  62. I'm not going to explain a completely new method of how executables can be made FUD. I guess most of the public available crypters do it similarly. But the problem with those crypters is that they get detected very soon after they were published. So I figured out a way to write my own crypter in C++. In this tutorial I'm going to explain how you can implement your own crypter and how you can play around with the code to get your exe FUD again if it gets detected some day..

  63. 100% evasion - Write a crypter in any language to bypass AV
  64. This is a paragraphToday I will be showing you how to write your own crypter in any language you want. I will be using an earlier in-development version of my recently released free and open-source PowerShell crypter Xencrypt as the basis for my examples (and that’s the tool you see in action in the screenshot above) as I walk you through how to design and implement your own crypter. The purpose of this article is to discuss it at a high enough level that you can take the ‘design principles’ and apply them to any language that you want and make your own, though you’re free to follow along in PowerShell if you care to..

  65. A Cookbook To Your Very Own Crypter™
  66. In this guide, I will go through what elements you need to make your very own crypter. This is a very simple process, and the reason it is not documented very well is because of the masses of money people make from them. If everyone knew how to make one, there wouldn't be a market for it. So, I am here to half kill that market, per say..

  67. Community-Articles/CookbookToYourOwnCrypter.pdf
  68. a cookbook for your own cryptor.

  69. HOW TO MAKE YOUR OWN CRYPTER IN C
  70. I have seen lots of people asking for a c/c++ runtime crypter, most answers point to general guidance or worse, nothing of importance. So I’ve decided to show step by step a solution to creating your own crypters..

  71. Basics - How to make a crypter.pdf - How to Code an FUD...
  72. download this PDF to read.

  73. [C#] A Simple Runtime Crypter
  74. I think everyone of you has had the dream of building his own crypter; I know I have (for about a year, now)..

  75. creating your own cryptor
  76. creating your own cryptor.

  77. Crypters tutorial for Hackers by Hackingloops
  78. Crypters are computer applications which are solely used to bypass the antivirus detection of malwares. Hackers use crypters to hide viruses, Trojans, RATS, keyloggers and other hack tools into a new executable, whose sole purpose is to bypass the detection of the same from antivirus. Crypters are basically dead programs which does not affect the actual functionality of the program, they just spoof the actual program behind their encryption and make antivirus fool. Most antivirus detects viruses on basis of heuristics and normal string based detection. Since we have spoofed the original program, so antivirus stand lame and does not detect it as virus..

  79. metablaster / BasicCrypter
  80. Basic Crypter source code Tutorial by Subotai Info: This is just a simple noob-friendly source code of crypter to get you started with making your own crypters. Please note that this is just a "skeleton" of a crytpter, having only the bare-minimum that a crypter needs in order to be functional. Anything on top of that, including the encryption, you have to add. Also, keep in mind that you are building the crypter file (that you can run), not a builder that generetes crypted files. .

  81. How to make money using your fud crypte
  82. Kaspersky Antivirus -Clean. So to clarify, the fact that from all the other Crypters being distributed that for example that use a specific method of execution using a specific api which has slight relation to how your.

  83. C++ Runtime Crypter
  84. Tutorial on the structure of writing a runtime crypter in C++.

    Misc.

  85. CyberGod - An Antivirus in C++ for Windows and Android(Java)
  86. CyberGod KSGMPRH is an open source antivirus which is designed to work under Windows operating system. It comes with a DOS Engine helping developers to customize the anti-virus engine as they please..

  87. A Cessna Skyhawk Skeleton for Further Development in OpenGL (GLUT)
  88. A Cessna Skyhawk Skeleton for further development in OpenGL (GLUT) using a Win32 Console.

Friday, November 12, 2021

static code analysis tools

static code analysis tools

  1. A Static Analysis Tool for C++
  2. Automating Scott Meyers' recommendations, cleaning up #include directives, and analyzing dependencies.

  3. Security for all stacks and assets
  4. Security for all stacks and assets.

  5. Top 9 C++ Static Code Analysis Tools
  6. Top 9 C++ Static Code Analysis Tools.

Monday, November 8, 2021

Case Study 14: zlib compilation

Case Study 13: zlib compilation

    Prelude

  1. module unsafe for SAFESEH image C++
  2. zlib.lib got issue.

  3. My Research on this error
  4. the cause behind this error message.

    This happens when you link an .obj or .lib that contains code created by an earlier version of the compiler. Which of course would be common if you downloaded a binary for opencv_ffmpeg instead of the source. You can turn the linker option off but then you'll still have a CRT version incompatibility that can byte. Rebuild the library from source. – Hans Passant May 15 at 13:01

    It can also be caused by, as the error states, modules for which the linker can't find safe exception handlers. Assembly language modules in particular - as discussed in other answers. There is some info about this here. – Nick Westgate Jul 5 '17 at 22:17

    Building tricks

  5. Do not use WINAPI_FAMILY_ONE_PARTITION if not defined #233
  6. This fixes a compile time warning "C4067: unexpected tokens following preprocessor directive - expected a newline" (on VS2013 with Windows 8.1 SDK) and is is a follow up for commit 89e335a..

  7. zlib 1.2.8 always uses Windows 8 - level API #49
  8. DanKonigsbach commented on Sep 4, 2014

    As @kreuzerkrieg pointed out, the problem is in the commit 5481269, specifically on line 30. The code is trying to define IOWIN32_USING_WINRT_API if and only if the target is a Metro app, by using the test:

    #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)

    However, that will be true for both desktop and Metro applications. To test for only Metro applications, and not desktop applications, the following will work:

    #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
    I would like to submit this as a fix. I'm new to GitHub, so I'll need to learn the process first..

  9. How to compile zLib 1.2.8 (WINAPI / WAPI / STDCALL version)
  10. MY NOTE: one solution is from this note:

    This is not a full-blown article - just a quick HOWTO for people who require the latest version of zLib and want to use it from a language (like classic VB) that requires a standard WinAPI interface..

    By default, zLib uses C calling conventions (CDECL). Gilles Vollant has helpfully provided an STDCALL version of zLib in the past, but his site only provides version 1.2.5, which dates back to January 2012. zLib is currently on version 1.2.8.

    Gilles has contributed his WAPI fixes to the core zLib distribution so that anyone can compile it themselves. To do this, you will need to download:

  11. Using the Windows 8 SDK to compile for Windows 7
  12. (This question uses zlib as an example but isn't specific to it.)

    I'm trying to compile zlib on Windows using the MSVC project file it comes with. I'm using VS2012 with the Windows 8 SDK, but my build machine is Windows 7..

  13. "The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name:" with identical names
  14. Try to add _CRT_NONSTDC_NO_DEPRECATE and _CRT_SECURE_NO_WARNINGS in the preprocessor options (project properties). Worked here..

  15. When does #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) in dxvahd.h Microsoft header file become true
  16. Hi I am having 2 VC++ solutions "A" & "B" (VS2008) both are having the same codebase (with just few lines of code different). Using DXVAHD.h in both.

    dxvahd.h is a standard Microsoft header file. If we open this header file, we see there is a conditional if "#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)".

  17. winsdk-10/Include/10.0.10240.0/shared/winapifamily.h
  18. Module Name: winapifamily.h Abstract: Master include file for API family partitioning..

  19. 'LIBCMT' conflicts with use of other libs + unresolved external symbols
  20. I have a program using OpenGL 3.2(+libs) and FreeType2. Then an other program with Boost and OpenSSL. The OpenGL side was to make sure text could be rendered and the boost/openssl program is to do a secure login/game server..

  21. warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
  22. I don't know what is the problem here .. anybody can help me the source code is Hello Triangle.

  23. Unresolved externals despite linking in zlib.lib
  24. I've been trying to compile an application which utilizes zlib compression in VC++ 2010. I get the

    error LNK2019: unresolved external symbol _inflateInit2_ referenced in function ... error message, which wouldn't be unusual if I didn't link the lib. I link the static release zlib library..

    In my case I amended

    Config -> Linker -> Input -> Additional Dependencies to read ucrt.lib;vcruntime.lib;msvcrt.lib;kernel32.lib
    This enabled libz to build under Windows 10 with VS2015
    Ensuring the build type was /MD

    Source Code and FAQs

  25. zlib source code on GitHub
  26. zlib source code on GitHub.

    zlib 1.2.11 is a general purpose data compression library. All the code is thread safe. The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format).

    All functions of the compression library are documented in the file zlib.h (volunteer to write man pages welcome, contact zlib@gzip.org).

    A usage example of the library is given in the file test/example.c which also tests that the library is working correctly. Another example is given in the file test/minigzip.c. The compression library itself is composed of all source files in the root directory.

  27. madler/zlib: on GitHub
  28. read this length readme.

    To compile all files and run the test program, follow the instructions given at the top of Makefile.in. In short "./configure; make test", and if that goes well, "make install" should work for most flavors of Unix. For Windows, use one of the special makefiles in win32/ or contrib/vstudio/ .

    Notes for some targets: - For Windows DLL versions, please see win32/DLL_FAQ.txt

  29. zlib - Looking the Gift Code in the Mouth:: A Post on Dr. Dobbs
  30. Free software is like pizza - when it’s good, it’s very good. When it’s bad, it can still be pretty good. This article takes a look at zlib, the free data compression library written by Mark Adler and Jean-loup Gailly. Like the very finest pizza, zlib is exceptional.

    In this article I will first give a quick overview of what zlib is, and where it came from. I’ll then discuss the existing interface, and look at the wrapper class I created for my own use. Finally, I’ll talk about how I integrated zlib into a a command line test program and a general purpose file compression OCX. After reading this article you should feel comfortable using zlib for many, if not all, of your data compression needs..

    zlib’s interface is confined to just a few simple function calls. The entire state of a given compression or decompression session is encapsulated in a C structure of type z_stream, whose definition is shown in Figure 1.

    Using the library to compress or decompress a file or other data object consists of three main steps:

    1. Creating a z_stream object.
    2. Processing input and output, using the z_stream object to communicate with zlib.
    3. Destroying the z_stream object.

  31. zlib FAQ
  32. Where can I get a Windows DLL version? The zlib sources can be compiled without change to produce a DLL. See the file win32/DLL_FAQ.txt in the zlib distribution. Pointers to the precompiled DLL are found in the zlib web site at http://zlib.net/ ..

    Where's the zlib documentation (man pages, etc.)? It's in zlib.h . Examples of zlib usage are in the files test/example.c and test/minigzip.c, with more in examples/ .

  33. zlib technical details and manuals
  34. zlib Information

    1. zlib Frequently Asked Questions
    2. zlib Manual
    3. zlib Usage Example
    4. zlib Technical Details
    5. zlib-related specifications:

  35. Frequently Asked Questions about ZLIB1.DLL
  36. Frequently Asked Questions about ZLIB1.DLL.

  37. Anatomy of the zlib library (3): use the example zpipe.c
  38. Anatomy of the zlib library (3): use the example zpipe.c.

  39. zlib official site
  40. A Massively Spiffy Yet Delicately Unobtrusive Compression Library (Also Free, Not to Mention Unencumbered by Patents).

  41. zlib Usage Example
  42. We often get questions about how the deflate() and inflate() functions should be used. Users wonder when they should provide more input, when they should use more output, what to do with a Z_BUF_ERROR, how to make sure the process terminates properly, and so on. So for those who have read zlib.h (a few times), and would like further edification, below is an annotated example in C of simple routines to compress and decompress from an input file to an output file using deflate() and inflate() respectively. The annotations are interspersed between lines of the code. So please read between the lines. We hope this helps explain some of the intricacies of zlib..

    zlib for Next Generation

  43. zlib replacement with optimizations for "next generation" systems.
  44. zlib data compression library for the next generation systems Maintained by Hans Kristian Rosbach aka Dead2 (zlib-ng àt circlestorm dót org).

  45. miniz: Single C source file zlib-replacement library, originally from code.google.com/p/miniza>
  46. miniz: Single C source file zlib-replacement library, originally from code.google.com/p/miniz.

  47. miniz
  48. This is a paragraphSingle C source file Deflate/Inflate compression library with zlib-compatible API, ZIP archive reading/writing, PNG writing.

  49. Richard Geldreich's Blog
  50. miniz.c: Finally added zip64 support, other fixes/improvements incoming.

  51. Building on Windows
  52. What follows is how BibleTime can be built on Windows using the free version of Visual Studio Express 2012.

  53. libpng
  54. libpng is the official PNG reference library. It supports almost all PNG features, is extensible, and has been extensively tested for over 23 years. The home site for development versions (i.e., may be buggy or subject to change or include experimental features) is https://libpng.sourceforge.io/, and the place to go for questions about the library is the png-mng-implement mailing list.

    libpng is available as ANSI C (C89) source code and requires zlib 1.0.4 or later (1.2.5 or later recommended for performance and security reasons). The current public release, libpng 1.6.37, fixes the use-after-free security vulnerability noted below, as well as an ARM NEON memory leak in the palette-to-RGB(A) expansion code (png_do_expand_palette())..

  55. LIBPNG: PNG reference library LIBPNG: PNG reference library
  56. source code library for libpng.

    Manual List

    1. plain text format
    2. PDF format (version 1.4.0 [Jan 2010], courtesy of Alex Yau)

    Specific questions on ZLIB_WIN32 macro

  57. build in windows with zlib should add ZLIB_WINAPI in MakefileBuild.vc
  58. I'd also be interested as to the "why do we need ZLIB_WINAPI ?",, and what version of ZLIB this applies to? I have been building ZLIB as a dependency of CURL for several years and not yet hit on this need.

    /* If building or using zlib with the WINAPI/WINAPIV calling convention,
    * define ZLIB_WINAPI.
    * Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
    */
    30 second googling appears to indicate that it changes the expectations on the caller (it turns on __stdcall) which makes me nervous, but no more than that..

  59. ZLIB for Windows expects ZLIB_WINAPI to be defined #293
  60. ZLIB for Windows expects ZLIB_WINAPI to be defined #293.

  61. Static ZLIB (1.2.8) linking on Visual Studio 2012
  62. I can't, for the love of God, to static link the ZLIB libs. I have been struggling for a couple hours now with no success. Well, I have followed this tutorial and successfuly compiled both zlibstat.lib and zlibwapi.lib for 32 bits. After setting up my project to use the ZLIB folder with the libraries (Linker > General > Additional Library Directories) and setting zlibwapi.lib (only) as an dependency (Linker > Input > Additional Dependencies) I got it to work, however, that was a dynamic link (I need to distribute my application with the ZLIB dll). I usually use dynamic linking on Debug and static on Release.

    I have tried looking for what the hell is the zlibstat.lib and whats it used for, if not for static linking, assuming the "stat" suffix.

    Are there any preprocessor to be added into my project, something like ZLIB_STATIC or something, to use static linking of ZLIB or should I have never removed the ZLIB_WINAPI from the zlibstat project, just like the above link told me to do? Is it impossible to static link ZLIB (then, whats zlibstat.lib for?)?

  63. Zlib linker error on vs2010
  64. I have a zlib linker error. Spent several hours to try and solve the problem but nothing so far. Zlib was built using vs2010, win32 release. My project is using the same..

    Solution Including the zlib.h in the file like this:

    #ifdef WIN32 # define ZLIB_WINAPI #endif #include "zlib.h"

  65. Unresolved externals despite linking in zlib.lib
  66. I've been trying to compile an application which utilizes zlib compression in VC++ 2010. I get the

    error LNK2019: unresolved external symbol _inflateInit2_ referenced in function
    ....

    ANSWER: If you are using the VS2010 solution provided in contrib/ be aware that it's bugged. The zlibstat project defines ZLIB_WINAPI which according to zlib FAQ is used to switch on the STDCALL convention. Just remove it from the project settings and recompile the lib.

  67. Zlibstat.lib link error, VS 2010, zlib 1.2.8
  68. I am trying to use zlibstat.lib generated by building solution in zlib-1.2.8\contrib\vstudio\vc10\zlibvc.sln It generated a zlibstat.lib but when I link it with another project I get the following errors:

    error LNK2001: unresolved external symbol _compress2
    error LNK2001: unresolved external symbol _uncompress
    error LNK2019: unresolved external symbol _compress2 referenced in function...
    error LNK2019: unresolved external symbol _crc32 referenced in function .....

    ANSWER: For anyone coming across this question: I have just solved this myself minutes ago and I personally think that this is a small error in the 1.2.8 sources. The 1.2.8 release contains a VS2010 project to build the zlibstat.lib and altough one would expect a static library file given the name, the macro ZLIB_WINAPI is defined which produces a dynamically linked lib file.

    So without further ado: To compile zlibstat.lib in VS2010: Simply go to the project's proprerties, go to C/C++->Preprocessor and remove the ZLIB_WINAPI macro from the Preprocessor Definitions

  69. Compiling and using zlib library and libPng library under Windows
  70. I won't say anything about the zlib library and libpng. Both Du Niang and Google can tell you. Here mainly records how to use vs2010 to compile and use these two libraries under windows.

  71. Frequently Asked Questions about ZLIB1.DLL
  72. This document describes the design, the rationale, and the usage of the official DLL build of zlib, named ZLIB1.DLL. If you have general questions about zlib, you should see the file "FAQ" found in the zlib distribution, or at the following location: http://www.gzip.org/zlib/zlib_faq.html.

  73. Compilation and use of Zlib libraries
  74. this is the right approach from a chinese guy.

    Compilation and use of Zlib libraries.

  75. vs2010下创建工程调用zlib库compress和uncompress的问题
  76. Due to a project, the zlib library is used under windows. The existing libraries are all release versions. If the project is debugged, it will cause a lot of symbol errors, so I have to recompile the zlib library myself..

    上面写错了。首先要在Zlib.h头文件添加上ZLIB_WINAPI的宏定义(只有在vs2010的win32项目时候奥); 然后再 项目->属性->链接器->输入->忽略特定的默认库,把libcmt.lib,加上就ok了。

  77. use zlib lib to compress or decompress file
  78. MY Best Choice:

    If you want to compress or decompress file when writing C++ code,you can choose zlib library,that's quite easy..

  79. Using the Windows 8 SDK to compile for Windows 7
  80. (This question uses zlib as an example but isn't specific to it.) I'm trying to compile zlib on Windows using the MSVC project file it comes with. I'm using VS2012 with the Windows 8 SDK, but my build machine is Windows 7..

  81. zlib
  82. zlib From Wikipedia, the free encyclopedia.

    Applications

  83. Creating a Self Extracting Executable
  84. A class that allows you to create self extracting executables for use in distribution or setup programs.

  85. zipstream, bzip2stream: iostream wrappers for the zlib and bzip2 libraries
  86. STL compliant, stream-to-stream, zlib and bzip2 wrapper with wide char support..

  87. geromueller/zstream-cpp
  88. cleaned version on github.

  89. Encryption and compression, native and managed
  90. DLL for native encryption and compression (using Crypto++). Includes RSA Key Generator in C#, and encryption and compression in ASP.NET (C#)..

  91. Articles by Davide Pizzolato (Articles: 9)
  92. Articles by Davide Pizzolato (Articles: 9).

  93. CxImage
  94. CxImage is a C++ class to load, save, display, transform BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX, TGA, WMF, WBMP, JBG, J2K images.

  95. Zip and Unzip in the MFC way
  96. A library to create, modify, and extract Zip archives..

  97. Easy Way to Read/Write Zip-Compatible Files Under MFC
  98. Create a WinZip-readable ZIP file in three lines of your MFC code.

  99. Zip bytes in memory and unzip file into bytes buffer
  100. An article on how to zip bytes in memory.

  101. C++ wrapper for Gilles Vollant's Unzip API
  102. Presents an extended yet simplified interface to querying, filtering and extracting multiple files from a zip archive.

  103. HexEdit - Window Binary File Editor
  104. Open-source hex editor with powerful binary templates.

  105. CPathSplit
  106. This is a paragraph.

  107. CMarkupArchive, an extension to CMarkup
  108. This class adds additional features to the XML parser CMarkup: file handling, namespaces, numerical helpers and new find methods.