-
January 16th, 2011, 04:53 PM
#1
Simple Checksum question
I created a mapped file, and mapview of a file as follows
hMap=CreateFileMapping(hFile, 0, PAGE_READWRITE, 0,0,0);
lpBaseAddr=(LPBYTE)MapViewOfFile(hMap,FILE_MAP_WRITE,0,0,0);
pImgHdr=Checksummapfile(lpBaseAddr,nFileSize,&dwOldSum,&dwNewSum);
The third line in debuging produces error of Access Violation.
Could someone who knows about this offers me some guidance please ?
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|