-
X
Windows 7 CryptUnprotectData failing when code compiled on Windows
Dear All, I need some help regarding a strange issue with CryptUnprotectData function. I have a C++ code that reads the database password from the registry and decrypts it using CryptUnprotectData. We have to deploy this application on a Windows 7 machine. When I compile my code on...- Xpert Coder
- Thread
- application c++ code compatibility cryptunprotectdata debugging decryption dependencies development encryption error handling function call getlasterror programming registry security service pack visual studio windows 7 windows xp
- Replies: 1
- Forum: Windows Software
-
S
Windows 7 Driver doesn't get system code (IOCTL)
Hi, I'm newbie, so it's maybe stupid question) So, I've got raid controller, wdf driver and application. It worked on Windows XP and Server 2003. On Windows 7 it doesn't work(. System function (like ::DeviceIoControl) began to return FALSE. I think that this function work with DIRECT I/O. The...- smithana
- Thread
- console application deviceiocontrol directio drivers error codes getlasterror ioctl raid controller wdf driver windows 7
- Replies: 1
- Forum: Programming and Scripting
-
D
Windows 7 GetCommState keeps failing with error ERROR_INVALID_FUNCTION
I am using a Windows 7 machine, and I am trying to follow the C++ example posted here: http://msdn.microsoft.com/en-us/library/aa363201(v=VS.85).aspx and I keep entering this if statement fSuccess = GetCommState(hCom, &dcb); if (!fSuccess) { // Handle the error. printf...- Dwigt
- Thread
- c++ dcb error handling error_invalid_function getcommstate getlasterror programming serial communication windows 7
- Replies: 1
- Forum: Programming and Scripting