IQ DIRECT

Blog

Navigation

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

Blog

What is a Module Definition File (.DEF file)?

A module definition DEF file (*. def) is a text file containing one or more module statements describing various attributes of a DLL. The DEF file is especially useful when one needs to disable the name mangling of the exported functions and variables.

TPL_COM_CONTENT_READ_MOREWhat is a Module Definition File (.DEF file)?
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?
  • 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

Page 29 of 58

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

Copyright ©2026 IQ DIRECT


main version