it goes wrong after the following: (in most cases) (Access denied) on the device createfile handle
i gave it a try with the follwing arguments:
btw u didnt use a keyboard0 string in the dll file u used keyboard + id.ToString();
i gave it a try with the follwing arguments:
then i can get past it but it wil crash again after a few more times..so not a good solutionQuote:
fileName, FileAccess.ReadWrite, FileShare.ReadWrite, IntPtr.Zero, FileMode.OpenOrCreate, 0, IntPtr.Zero
btw u didnt use a keyboard0 string in the dll file u used keyboard + id.ToString();