annoyance. I'm using the Windows API CreateFile function to get a
SafeFileHandle, which I then stuff into a FileStream and from there
into StreamReader and StreamWriter objects.
i do this code for streamreader
Expand|Select|Wrap|Line Numbers
- StreamReader fPipein = new StreamReader(WinAPIWrapper.GetStreamFromGuid(m, @"\PIPE00"));
Unable to find an entry point named 'GetStreamFromGuid' in DLL 'User32.dll'.
Unable to find an entry point named 'GetStreamFromGuid' in DLL 'User32.dll'.
and also for chenging to setupapi.dll
Unable to find an entry point named 'GetStreamFromGuid' in DLL 'setupapi.dll'.
i dont know what should i do... for a safe handle to access usb for reading ang writing
thanks