IQ DIRECT

Blog

Navigation

  • Home
  • About us
  • Portfolio
  • Reviews
  • Blog
  • Contacts

Blog

How to communicate with the driver by sending IOCTL codes?

Communicating with the device drivers from the user-mode apps in Windows can be done by either sending standard I/O requests: Read, Write, or by sending dedicated I/O control codes (IOCTLs). 

Sending standard I/O requests are required when writing standard filesystem drivers. Custom I/O Control Codes can be used when communicating with non-standard (custom) drivers. 

TPL_COM_CONTENT_READ_MOREHow to communicate with the driver by sending IOCTL codes?
SQL Server Authentication Modes

SQL Server supports two authentication modes, Windows authentication mode and mixed mode.

Windows authentication is the default, and is often referred to as integrated security because this SQL Server security model is tightly integrated with Windows. Specific Windows user and group accounts are trusted to log in to SQL Server. Windows users who have already been authenticated do not have to present additional credentials. With Windows authentication, users are already logged onto Windows and do not have to log on separately to SQL Server.

A typical connection string for Windows Authentication would look like:

"Server=localhost;Database=myDataBase;Integrated Security=true;"

 

TPL_COM_CONTENT_READ_MORESQL Server Authentication Modes
How to Request HTTP(S) API or Page in MFC

Requesting HTTP resources in MFC may be a tricky part because you cannot use simple API as you would have used with files. You have to use special classes.

If you need to download a webpage, some file or make a REST API call using C++/MFC, you can use the following simple code sample:

TPL_COM_CONTENT_READ_MOREHow to Request HTTP(S) API or Page in MFC
What a Piezo Converter is?

Scientists around the world are struggling with the problem of prolonging the life of energy sources. Everyone knows that two differently charged objects are attracted, but usually the force of this attraction is small and unreliable. Scientists experiment and found out: special polymer plates, charged in a certain way, are attracted to each other with a force of several pounds! Despite the fact that they are charged with a charge of only one microcoulomb.

Let us explain: the piezoelectric effect is the property of crystals of certain substances during compression to change the crystal lattice and, as a result, to produce an electric charge of very high voltage. For the first time this property was discovered in quartz crystals in 1880 by the French physicists Jacques and Paul Curie. Today, more than one and a half thousand substances with such properties are known, of which Rochelle salt and barium titanate are widely used. The most common device today that uses the piezoelectric effect is a convenient lighter.

TPL_COM_CONTENT_READ_MOREWhat a Piezo Converter is?
  • What an Electricity is?
  • History of creation of Java Language
  • What is Java good for?
  • Usage Areas of C Language: Information Security, Drivers, Writing Firmware
  • How to Move Project to Outsource having Customer Satisfied?

Page 28 of 57

  • 23
  • ...
  • 25
  • 26
  • 27
  • 28
  • 29
  • ...
  • 31
  • 32

Copyright ©2025 IQ DIRECT


main version