![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Vista Prof 32bit | ReadFile Win32 API not working under Vista Hi, I have a USB Touch screen that I have built a user-mode driver for. It has been written in VB6 and has been working fine under Windows XP. I recently decided to rewrite the application in Visual Basic.Net and C#. Both work fine under XP, but when I try the two Dot Net versions under Windows Vista neither works. I use CreateFile API to point to the kernel-mode driver and it returns a valid Handle. But ReadFile returns with zero bytes received. I have tried this with Visual Studio 2008 and DotNet framework 3.5 and Visual Basic Express 2005 and I am using Vista Business. ReadFile works OK to read text files but not the USB device. Any ideas greatly appreciated. Goblet |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Administrator tool for Win32 has stopped working | Vista performance & maintenance | |||
| Get the disbaled device list in vista through win32 Api in vc++ | Vista hardware & devices | |||
| Live Messenger ignore Win32 API ReadFile return code and 100% CPU | Live Messenger | |||
| Vista non-WIN32 apps memory restriction | Vista General | |||
| Vista win32 exception in explorer | Vista General | |||