Click here to Skip to main content
15,911,890 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Multithreading slower? Pin
NikWing6-May-10 6:33
NikWing6-May-10 6:33 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 7:00
sitebuilderLuc Pattyn6-May-10 7:00 
GeneralRe: Multithreading slower? Pin
NikWing6-May-10 7:45
NikWing6-May-10 7:45 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 8:34
sitebuilderLuc Pattyn6-May-10 8:34 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 12:38
sitebuilderLuc Pattyn6-May-10 12:38 
GeneralRe: Multithreading slower? [modified] Pin
NikWing6-May-10 13:23
NikWing6-May-10 13:23 
General!!!DO NOT DUPLICATE CODE!!! Pin
Luc Pattyn6-May-10 13:37
sitebuilderLuc Pattyn6-May-10 13:37 
GeneralRe: !!!DO NOT DUPLICATE CODE!!! Pin
NikWing6-May-10 14:03
NikWing6-May-10 14:03 
alright Smile | :)

did it and it still works Big Grin | :-D
(though I had to use String instead of Long because of hex conversation errors)

that's the problem when you (I mean myself) don't know what you're doing.
searching for infos on the WWW might result in something that works, but it's hard to see if it couldn't be way better, safer, faster ...

Since I used another class I couldn't just Dim result like other variables, so I googled and found the way with Friend, I didn't know how to use the Return value Smile | :)

Since I edited the code using what you suggested, do I still need 2 hash functions? for testing it I copied the function and now have hashfile_a and hashfile_b.
Would having just 1 function matter if 2 threads access it? I'm not sure but I would say it doesn't matter?
GeneralRe: !!!DO NOT DUPLICATE CODE!!! Pin
Luc Pattyn6-May-10 14:12
sitebuilderLuc Pattyn6-May-10 14:12 
GeneralRe: !!!DO NOT DUPLICATE CODE!!! Pin
NikWing6-May-10 14:57
NikWing6-May-10 14:57 
GeneralRe: !!!DO NOT DUPLICATE CODE!!! Pin
Dave Kreskowiak6-May-10 16:57
mveDave Kreskowiak6-May-10 16:57 
GeneralRe: !!!DO NOT DUPLICATE CODE!!! Pin
NikWing7-May-10 0:43
NikWing7-May-10 0:43 
GeneralRe: Multithreading slower? Pin
Luc Pattyn6-May-10 13:57
sitebuilderLuc Pattyn6-May-10 13:57 
GeneralRe: Multithreading slower? Pin
NikWing6-May-10 14:21
NikWing6-May-10 14:21 
AnswerRe: Multithreading slower? Pin
Luc Pattyn6-May-10 6:14
sitebuilderLuc Pattyn6-May-10 6:14 
AnswerRe: Multithreading slower? Pin
supercat96-May-10 6:54
supercat96-May-10 6:54 
GeneralRe: Multithreading slower? Pin
NikWing6-May-10 7:56
NikWing6-May-10 7:56 
GeneralRe: Multithreading slower? Pin
supercat96-May-10 9:11
supercat96-May-10 9:11 
GeneralRe: Multithreading slower? Pin
NikWing7-May-10 0:50
NikWing7-May-10 0:50 
QuestionMaximum number in an array? Pin
Adam Wike6-May-10 4:51
Adam Wike6-May-10 4:51 
AnswerRe: Maximum number in an array? Pin
Luc Pattyn6-May-10 5:04
sitebuilderLuc Pattyn6-May-10 5:04 
AnswerRe: Maximum number in an array? Pin
dan!sh 6-May-10 5:06
professional dan!sh 6-May-10 5:06 
GeneralRe: Maximum number in an array? Pin
Adam Wike6-May-10 7:36
Adam Wike6-May-10 7:36 
GeneralRe: Maximum number in an array? Pin
Adam Wike7-May-10 4:08
Adam Wike7-May-10 4:08 
QuestionOutlook Addin Pin
Dominick Marciano5-May-10 10:48
professionalDominick Marciano5-May-10 10:48 

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.