Originally posted by Unregistered
Fordy,
I know that. I am missing something very basic here. That is what I have in param 2 needs to get into my variables. Can I just do a strcpy of what's in param 2 to each one of my variables or something like that?
Fred
Yeah....personally I would use the CopyMemory() API...ala
Code:
ReadFile(hFile, lpMyBuffer, dwAmountToRead, &dwAmountActuallyRead, NULL);
CopyMemory((PVOID)lpMyDestinationArray, lpMyBuffer, dwAmountActuallyRead);
Not tested...but the above should be allong the lines you need