Click here to Skip to main content
15,905,874 members
Home / Discussions / C#
   

C#

 
QuestionVERY BAD math?? Pin
Michael D Bray14-Feb-03 5:38
Michael D Bray14-Feb-03 5:38 
AnswerRe: VERY BAD math?? Pin
leppie14-Feb-03 6:01
leppie14-Feb-03 6:01 
GeneralRe: VERY BAD math?? Pin
Michael D Bray14-Feb-03 6:06
Michael D Bray14-Feb-03 6:06 
GeneralRe: VERY BAD math?? Pin
leppie14-Feb-03 6:12
leppie14-Feb-03 6:12 
GeneralRe: VERY BAD math?? Pin
Giles15-Feb-03 3:12
Giles15-Feb-03 3:12 
GeneralHelpProvider control question Pin
DionChen14-Feb-03 4:18
DionChen14-Feb-03 4:18 
GeneralRe: HelpProvider control question Pin
Amber Star16-Feb-03 7:29
Amber Star16-Feb-03 7:29 
QuestionHow I can Check keyboard buffer? Pin
nikulin_andrey14-Feb-03 4:15
nikulin_andrey14-Feb-03 4:15 
AnswerRe: How I can Check keyboard buffer? Pin
Heath Stewart14-Feb-03 11:03
protectorHeath Stewart14-Feb-03 11:03 
GeneralRe: How I can Check keyboard buffer? Pin
nikulin_andrey16-Feb-03 20:29
nikulin_andrey16-Feb-03 20:29 
GeneralRe: How I can Check keyboard buffer? Pin
Heath Stewart17-Feb-03 2:54
protectorHeath Stewart17-Feb-03 2:54 
AnswerRe: How I can Check keyboard buffer? Pin
scarecrow90019-Apr-11 6:25
scarecrow90019-Apr-11 6:25 
Generalmodal user control (Windows.Forms) Pin
Yann CK14-Feb-03 2:00
Yann CK14-Feb-03 2:00 
GeneralRe: modal user control (Windows.Forms) Pin
Heath Stewart14-Feb-03 11:09
protectorHeath Stewart14-Feb-03 11:09 
GeneralShow Snap Grid In Designer Mode of Internet Explorer Pin
gxuqin13-Feb-03 22:51
gxuqin13-Feb-03 22:51 
Questionhow can i convert all the text in a listbox to a string array Pin
jtmtv1813-Feb-03 17:15
jtmtv1813-Feb-03 17:15 
AnswerRe: how can i convert all the text in a listbox to a string array Pin
Furty13-Feb-03 18:52
Furty13-Feb-03 18:52 
GeneralRe: how can i convert all the text in a listbox to a string array Pin
Anonymous13-Feb-03 18:57
Anonymous13-Feb-03 18:57 
GeneralRe: how can i convert all the text in a listbox to a string array Pin
Furty13-Feb-03 19:03
Furty13-Feb-03 19:03 
Generaldvd reading Pin
ahf13-Feb-03 8:18
ahf13-Feb-03 8:18 
hi all
I'm trying to read data from a dvd in order to check if the disc is ok or not
in c++ all is fine I read the files and do my tests
now I'm trying to port to c#, mostly for fun and to add a ui quickly.
what happens is: file reading is slower (about 1/3 the speed i get in c++) - code is below - and the files that contain the actual video data are locked.
I can unlock them running a dvd player, and I suppose I could find a way to do it on my own, still it's way too slow. do you have any idea about why it's so slow reading?

code

FileStream f = new FileStream(fl,FileMode.Open, FileAccess.Read, FileShare.None,16384);
while (0!=f.Read(ba,0,16384))
{
//do nothing - I just need to read the whole thing and time it

thanks!
GeneralRe: dvd reading Pin
Daniel Turini13-Feb-03 8:33
Daniel Turini13-Feb-03 8:33 
GeneralRe: dvd reading Pin
ahf13-Feb-03 9:26
ahf13-Feb-03 9:26 
GeneralRe: dvd reading Pin
Furty13-Feb-03 10:17
Furty13-Feb-03 10:17 
GeneralRe: dvd reading Pin
ahf13-Feb-03 11:12
ahf13-Feb-03 11:12 
GeneralRe: dvd reading Pin
ahf13-Feb-03 11:26
ahf13-Feb-03 11:26 

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.