CreateFile() returns ERROR_ACCESS_DENIED opening a device

"I would write a driver that creates a WDF device object. I would then open this device from user-mode and send custom IO control requests" - A typical user-kernel communication scenario. Today, when I was doing this, I hit an issue opening the device in user-mode. I received ERROR_ACCESS_DENIED. User mode application is running with admin … Continue reading CreateFile() returns ERROR_ACCESS_DENIED opening a device

swprintf_s causing Random Crashes and Stack Corruption

This is what happens if you don’t read documentation properly swprintf_s [https://msdn.microsoft.com/en-us/library/ce3zzk1k.aspx ] int swprintf_s( wchar_t *buffer, size_t sizeOfBuffer, const wchar_t *format, ... ); sizeOfBuffer Maximum number of characters to store. Documentation says the argument is the number of characters to store and not the size of buffer. More often, such APIs asks for the … Continue reading swprintf_s causing Random Crashes and Stack Corruption

Deploy Windows 10 Universal App on Windows Phone in Three Simple Steps

Windows 10 Universal Windows Platform Apps is a great framework to write applications for Windows platform. These apps can be deployed on a range of Windows devices, ranging from Desktop/Tablets to Phone and XBox. Since Windows work on various type of devices with a range of form factors and capabilities, a common application model/framework is … Continue reading Deploy Windows 10 Universal App on Windows Phone in Three Simple Steps

Microsoft Azure Machine Learning and Face Detection in IoT

Applications of Future draw their intelligence from a wide variety of source (Web 3.0 connected databases). They would learn continuously and be aware of the ecosystem they work in. Machine Learning is our first step on that path. Machine Learning is a field in Artificial Intelligence that deals with predictions. It is been in use in various forms … Continue reading Microsoft Azure Machine Learning and Face Detection in IoT