Click here to Skip to main content
15,921,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionPrinting Error Pin
Rothco8-Sep-05 6:13
Rothco8-Sep-05 6:13 
AnswerRe: Printing Error Pin
KaptinKrunch8-Sep-05 12:15
KaptinKrunch8-Sep-05 12:15 
QuestionAdvice Pin
mcgann8-Sep-05 4:42
mcgann8-Sep-05 4:42 
AnswerRe: Advice Pin
Christian Graus8-Sep-05 13:45
protectorChristian Graus8-Sep-05 13:45 
QuestionVery large LinkedList Pin
TheDarkMan8-Sep-05 1:32
TheDarkMan8-Sep-05 1:32 
AnswerRe: Very large LinkedList Pin
Colin Angus Mackay8-Sep-05 1:43
Colin Angus Mackay8-Sep-05 1:43 
GeneralRe: Very large LinkedList Pin
TheDarkMan8-Sep-05 1:51
TheDarkMan8-Sep-05 1:51 
GeneralRe: Very large LinkedList Pin
Dave Kreskowiak8-Sep-05 2:11
mveDave Kreskowiak8-Sep-05 2:11 
This is completely uneccessary. You COULD do this, but these functions allocate UNMANAGED memory. You'll also have to write code to move your data back and forth between the managed and unmanaged world, slowing down your performance.

Believe me, what you are thinking of doing is not a good idea and a waste of time. I've used huge arrays of objects (2 Billion elements) before, using about 2GB of memory, without any problems.

Try it using normal methods before you start trying to code this. What you should be thinking about is how swapping to disk and back is going to affect your performance. This is something you'll have to deal with even if you do go through your VirtualAlloc method.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Very large LinkedList Pin
TheDarkMan8-Sep-05 2:25
TheDarkMan8-Sep-05 2:25 
GeneralRe: Very large LinkedList Pin
Dave Kreskowiak8-Sep-05 6:22
mveDave Kreskowiak8-Sep-05 6:22 
GeneralRe: Very large LinkedList Pin
TheDarkMan8-Sep-05 10:34
TheDarkMan8-Sep-05 10:34 
QuestionClone (deep copy) datagrid Pin
mikone7-Sep-05 23:56
mikone7-Sep-05 23:56 
QuestionActiveX EXE Pin
MohammadAmiry7-Sep-05 23:29
MohammadAmiry7-Sep-05 23:29 
AnswerRe: ActiveX EXE Pin
Steve Pullan8-Sep-05 17:45
Steve Pullan8-Sep-05 17:45 
Questionwhy my timer control(or threading.timer) not run under win2003? Pin
woodwell7-Sep-05 22:56
woodwell7-Sep-05 22:56 
AnswerRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 14:19
woodwell8-Sep-05 14:19 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 17:49
Steve Pullan8-Sep-05 17:49 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 18:15
woodwell8-Sep-05 18:15 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 18:52
Steve Pullan8-Sep-05 18:52 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 19:06
woodwell8-Sep-05 19:06 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 19:22
Steve Pullan8-Sep-05 19:22 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 19:59
woodwell8-Sep-05 19:59 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
Steve Pullan8-Sep-05 20:28
Steve Pullan8-Sep-05 20:28 
GeneralRe: why my timer control(or threading.timer) not run under win2003? Pin
woodwell8-Sep-05 20:49
woodwell8-Sep-05 20:49 
QuestionHow to scan a document using Visual Basic Pin
Candor Soft7-Sep-05 21:54
Candor Soft7-Sep-05 21:54 

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.