You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
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.
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 |...
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...
32-bit
application
behavior
c programmingc++programming
closing
data execution prevention
development
help
network
programs
security
server
server 2008
server 2012
software
update
windows
windows 7
windows xp