Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

CreateFile error

I have post this question as comment on my early question. Here is more
This line in acquire return the Invalid file handle

dvrFile = CreateFile(L"RLP1:",GENERIC_READ| GENERIC_WRITE,FILE_SHARE_READ| FILE_SHARE_WRITE,
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL,0);

I have check the registry use evc++ 4.0 utility. it is like manual said -- have RLP1: in Drive\Active, Drivers\PCMCIA\Detect\70, and Drivers\PCMCIA\RLP point to the dll in the sample. It sound correct.

"Using GetLastError, I get error number 55 Dev not exist(some thing like this in help file). Is this means the register not correct? What wrong?

Thank you advance for your help


HL
0 Kudos
Message 1 of 1
(8,451 Views)