c++ programming

About this tag
Discussions tagged with c++ programming on WindowsForum.com cover low-level hardware access and compatibility issues with Windows. One thread addresses an access violation when iterating through SCSI slots using the Windows API, involving CreateFile, SRB_IO_CONTROL, and FIRMWARE_REQUEST_BLOCK structures. Another thread describes a 32-bit C and C++ application that closes immediately on Windows 7, Server 2008, and Server 2012, but runs on XP, suggesting security features or API changes may be responsible. These topics reflect common challenges in C++ development for Windows, including direct hardware communication and legacy application compatibility.
  1. E

    Windows 10 Access Violation When Iterating Through SCSI Slots

    I am getting an access violation when iterating through SCSI HDD's. I'm sure I'm doing something that needs a minor tweak to get it to work properly. Anyone have any ideas on why I'm getting an access violation every time? HANDLE handle = CreateFile("\\\\.\\PhysicalDrive1", GENERIC_READ |...
  2. J

    Windows 7 Programs instantly closing. Please help

    I have heard of this behavior from various people using various applications. It seems to happen more with 32-bit apps running on new Windows versions. The program opens and immediately closes. It is only runs for a second or less. I have tried turning off data execution prevention which does...
Back
Top