Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: SetFilePointerEx not moving pointer Pin
jchoover31-Dec-10 6:30
jchoover31-Dec-10 6:30 
GeneralRe: SetFilePointerEx not moving pointer Pin
Chris Copeland31-Dec-10 6:34
mveChris Copeland31-Dec-10 6:34 
GeneralRe: SetFilePointerEx not moving pointer Pin
jchoover31-Dec-10 7:11
jchoover31-Dec-10 7:11 
GeneralRe: SetFilePointerEx not moving pointer Pin
Chris Copeland31-Dec-10 7:20
mveChris Copeland31-Dec-10 7:20 
GeneralRe: SetFilePointerEx not moving pointer Pin
jchoover31-Dec-10 7:40
jchoover31-Dec-10 7:40 
GeneralRe: SetFilePointerEx not moving pointer Pin
Chris Copeland31-Dec-10 7:51
mveChris Copeland31-Dec-10 7:51 
GeneralRe: SetFilePointerEx not moving pointer Pin
Henry Minute31-Dec-10 12:07
Henry Minute31-Dec-10 12:07 
GeneralRe: SetFilePointerEx not moving pointer [modified] Pin
Chris Copeland1-Jan-11 1:12
mveChris Copeland1-Jan-11 1:12 
Edit

Nevermind. Seems passing Threading.NativeOverlapped to ReadFile was causing issues with the buffer. And I also changed all IntPtr to SafeFileHandle, and it's working now. Thanks!

Previous

It makes no difference if I convert all the Int64 types long, it still doesn't adjust the pointer and my SetFilePointerEx(this.block, 0, out pos, EFileMove.FileEnd); still assigns 0 to the pos variable (and the buffer is not changed).

modified on Saturday, January 1, 2011 7:41 AM

AnswerRe: SetFilePointerEx not moving pointer Pin
Henry Minute31-Dec-10 7:15
Henry Minute31-Dec-10 7:15 
GeneralRe: SetFilePointerEx not moving pointer Pin
Luc Pattyn1-Jan-11 16:07
sitebuilderLuc Pattyn1-Jan-11 16:07 
GeneralRe: SetFilePointerEx not moving pointer Pin
Henry Minute2-Jan-11 5:31
Henry Minute2-Jan-11 5:31 
AnswerRe: SetFilePointerEx not moving pointer Pin
Luc Pattyn1-Jan-11 16:09
sitebuilderLuc Pattyn1-Jan-11 16:09 
QuestionC# dynamic controls Pin
Software200731-Dec-10 5:18
Software200731-Dec-10 5:18 
AnswerRe: C# dynamic controls Pin
Interflo31-Dec-10 5:40
Interflo31-Dec-10 5:40 
GeneralRe: C# dynamic controls Pin
Software200731-Dec-10 5:50
Software200731-Dec-10 5:50 
GeneralRe: C# dynamic controls Pin
Henry Minute31-Dec-10 6:09
Henry Minute31-Dec-10 6:09 
GeneralRe: C# dynamic controls Pin
Espen Harlinn1-Jan-11 8:17
professionalEspen Harlinn1-Jan-11 8:17 
GeneralRe: C# dynamic controls Pin
Henry Minute1-Jan-11 8:24
Henry Minute1-Jan-11 8:24 
AnswerRe: C# dynamic controls Pin
Bernhard Hiller2-Jan-11 21:48
Bernhard Hiller2-Jan-11 21:48 
QuestionSubclassing a Checkbox within a ToolStrip Warning Question Pin
Rafone31-Dec-10 4:23
Rafone31-Dec-10 4:23 
AnswerRe: Subclassing a Checkbox within a ToolStrip Warning Question Pin
Not Active31-Dec-10 7:15
mentorNot Active31-Dec-10 7:15 
GeneralRe: Subclassing a Checkbox within a ToolStrip Warning Question Pin
Rafone31-Dec-10 10:04
Rafone31-Dec-10 10:04 
GeneralRe: Subclassing a Checkbox within a ToolStrip Warning Question Pin
Not Active31-Dec-10 10:19
mentorNot Active31-Dec-10 10:19 
GeneralRe: Subclassing a Checkbox within a ToolStrip Warning Question Pin
Rafone31-Dec-10 10:54
Rafone31-Dec-10 10:54 
GeneralRe: Subclassing a Checkbox within a ToolStrip Warning Question Pin
Not Active31-Dec-10 13:25
mentorNot Active31-Dec-10 13:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.