I have purchased PC104+ (PCI) HDLC card which comes with driver source on git-com, unfortunately the driver sometimes writes ulong 06 to user stack of calling function while it is processing a FileWrite or FileRead call,
I use overlapped File descriptor, but the data write occurs before the user program returns from FileWrite
I have never developed driver before, I have used VS2013 to run windbg thru a null modem cable, the verbose WDF log shows nothing out of the ordinary that I can see I can post more when I am back at work, I am also able to connect to driver source & add a breakpoint
I am using a partial checked version of Windows 7 x64 with a checked version of the driver
it uses version 1.09 of WDF, built by msbuild command line interface.
THe driver works by each IOCTL calls to setup 1 of the 2 FSCC ports on the card, and then FileRead to read the next HDLC Frame from a circlular buffer or FileWRite to put an HDLC frame in a transmit buffer,
My bug seems to have been present thru 2 generations of the driver?!
I can see the ulong that is corrupted in the user program but dont know how to relate this to the driver, or how to pin point it if I could, that is before I get near a stratagy for the fix
Manufactures want support us but origonal developer has left, there is not really an alternative on the market as card is actually a good one, we had used there previous version of the card but only runs in Windows XP, any pointers would be great
Another NT Insider article about WDM or WDF reccomends Russinovich and Solomon
is this Windows Insider could u help with exactly which book would be best as amazon is not very clear
Any suggestions or articles to check would be so greatly recieved with much thanks
Best Wishes Nick