PC Review


Reply
Thread Tools Rate Thread

BackupSeek and ERROR_INVALID_HANDLE

 
 
Steven Evilia
Guest
Posts: n/a
 
      5th Jan 2004
I've been getting ERROR_INVALID_HANDLE doing a BackupSeek() when the same
handle has just been used to do a BackupRead() so I know the handle is
valid. While searching the web I saw a code sample where
ERROR_INVALID_HANDLE is checked after doing a BackupSeek(). The comment said
checking for end of file. So does BackupSeek() returns ERROR_INVALID_HANDLE
for end of file or is there something else going on? Thanks in advance.

- Steve


 
Reply With Quote
 
 
 
 
Joe Griffin [MSFT]
Guest
Posts: n/a
 
      6th Jan 2004
What service pack are you running and are you backing up across the network
or local computer.
Joe Griffin [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Steven Evilia" <(E-Mail Removed)>
Subject: BackupSeek and ERROR_INVALID_HANDLE
Date: Mon, 5 Jan 2004 17:00:13 -0500
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <#(E-Mail Removed)>
Newsgroups: microsoft.public.win2000.file_system
NNTP-Posting-Host: 141.154.5.34
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.win2000.file_system:15979
X-Tomcat-NG: microsoft.public.win2000.file_system

I've been getting ERROR_INVALID_HANDLE doing a BackupSeek() when the same
handle has just been used to do a BackupRead() so I know the handle is
valid. While searching the web I saw a code sample where
ERROR_INVALID_HANDLE is checked after doing a BackupSeek(). The comment said
checking for end of file. So does BackupSeek() returns ERROR_INVALID_HANDLE
for end of file or is there something else going on? Thanks in advance.

- Steve



 
Reply With Quote
 
Steven Evilia
Guest
Posts: n/a
 
      6th Jan 2004
I'm running Win2K SP 3 and I am backing up on the local computer.

"Joe Griffin [MSFT]" <(E-Mail Removed)> wrote in message
news:G5IYe%(E-Mail Removed)...
> What service pack are you running and are you backing up across the

network
> or local computer.
> Joe Griffin [MS]
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> --------------------
> From: "Steven Evilia" <(E-Mail Removed)>
> Subject: BackupSeek and ERROR_INVALID_HANDLE
> Date: Mon, 5 Jan 2004 17:00:13 -0500
> Lines: 10
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> Message-ID: <#(E-Mail Removed)>
> Newsgroups: microsoft.public.win2000.file_system
> NNTP-Posting-Host: 141.154.5.34
> Path:
>

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
> phx.gbl
> Xref: cpmsftngxa07.phx.gbl microsoft.public.win2000.file_system:15979
> X-Tomcat-NG: microsoft.public.win2000.file_system
>
> I've been getting ERROR_INVALID_HANDLE doing a BackupSeek() when the same
> handle has just been used to do a BackupRead() so I know the handle is
> valid. While searching the web I saw a code sample where
> ERROR_INVALID_HANDLE is checked after doing a BackupSeek(). The comment

said
> checking for end of file. So does BackupSeek() returns

ERROR_INVALID_HANDLE
> for end of file or is there something else going on? Thanks in advance.
>
> - Steve
>
>
>



 
Reply With Quote
 
Joe Griffin [MSFT]
Guest
Posts: n/a
 
      7th Jan 2004
Hello Steven,
I have looked into this further since it is local to the machine and it
appears that you are writing code and may not be using the correct API's.
This forum is not for developer support. Try another forum such as
development for an answer to this issue.
Thank you.
Joe Griffin [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Steven Evilia" <(E-Mail Removed)>
References: <#(E-Mail Removed)>
<G5IYe#(E-Mail Removed)>
Subject: Re: BackupSeek and ERROR_INVALID_HANDLE
Date: Tue, 6 Jan 2004 13:41:03 -0500
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <(E-Mail Removed)>
Newsgroups: microsoft.public.win2000.file_system
NNTP-Posting-Host: 141.154.5.34
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05
.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.win2000.file_system:16019
X-Tomcat-NG: microsoft.public.win2000.file_system

I'm running Win2K SP 3 and I am backing up on the local computer.

"Joe Griffin [MSFT]" <(E-Mail Removed)> wrote in message
news:G5IYe%(E-Mail Removed)...
> What service pack are you running and are you backing up across the

network
> or local computer.
> Joe Griffin [MS]
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
> --------------------
> From: "Steven Evilia" <(E-Mail Removed)>
> Subject: BackupSeek and ERROR_INVALID_HANDLE
> Date: Mon, 5 Jan 2004 17:00:13 -0500
> Lines: 10
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> Message-ID: <#(E-Mail Removed)>
> Newsgroups: microsoft.public.win2000.file_system
> NNTP-Posting-Host: 141.154.5.34
> Path:
>

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
> phx.gbl
> Xref: cpmsftngxa07.phx.gbl microsoft.public.win2000.file_system:15979
> X-Tomcat-NG: microsoft.public.win2000.file_system
>
> I've been getting ERROR_INVALID_HANDLE doing a BackupSeek() when the same
> handle has just been used to do a BackupRead() so I know the handle is
> valid. While searching the web I saw a code sample where
> ERROR_INVALID_HANDLE is checked after doing a BackupSeek(). The comment

said
> checking for end of file. So does BackupSeek() returns

ERROR_INVALID_HANDLE
> for end of file or is there something else going on? Thanks in advance.
>
> - Steve
>
>
>




 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create Mutex/GetLasteError() = ERROR_INVALID_HANDLE =?Utf-8?B?S2V2aW4gRkw=?= Microsoft Dot NET Compact Framework 3 3rd Aug 2007 06:04 PM
EngWritePrinter ERROR_INVALID_HANDLE MotoFreak Windows XP Drivers 0 26th Aug 2005 06:35 PM
ReadConsoleOutput and ERROR_INVALID_HANDLE Doug Perkes Microsoft VB .NET 2 5th Dec 2003 03:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 AM.