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 […]

Azure Cognitive Service Emotion API

Emotion API I watched a documentary on Inside Out, a movie where five basic emotions come to life and influence a little girls actions via a console in her mind’s Headquarters. Documentary said there are 7 basic emotions by psychological research however movie used only five! And then I came across Azure Cognitive Service Emotion API. […]

swprintf_s causing Random Crashes and Stack Corruption

This is what happens if you don’t read documentation properly swprintf_s [ ] 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 […]

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 […]