Problem with LZSeek()

Hi experts
                I open a file using LZOpenFile(). let file size is greater than 5gb. File is  an image of a drive. using  LZSeek( INT hFile,LONG lOffset,INT iOrigin), we can't seek to an offset which exceed the long value. Is there any way to seek any offset? Let my file size is 8gb. and i want to read file's contents which are at 7gb and i want to use LZSeek as
     LZSeek(filehandle, offset,origin=beginning of file)
 where offset should be value around 7gb.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You already ar eaware of the fact that 4GB is the limit to store in a LONG. So the only way I see is to use LZSeek twice (or mutilple times)

LZSeek (filehandle, 4GB, 0); //start at file beginning and go as far as possible
LZSeek (filehandle, 1GB, 1); //resume at current position and seek the remainder.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ManojKrChauhanAuthor Commented:
Thanks Experts
                   LZSeek() can be use twice or many times. But if a hard disk is of more than 200GB then a lot of problem. It's good suggestion but i want a way by which i can use LZSeek() only once.

 As _lseek() has another function
 __int64 _lseeki64( int fd, __int64 offset, int origin );

 Is there no function(i64) for LZSeek()?

SetFilePointer() is the best option. But it takes first parameter as HANDLE(of opened/created file). while LZOpenFile() returns an INT value. So i can't use SetFilePointer() here.
Thanks for reply. If is there any way then please reply.
Maybe wait for IA64 or AMD46 compatible windows? ;-)
If you know the file size and the desired offset it might be worth to search from the end of the file.

Can't find any clue on length of parameters for a call to LZSeek at
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.