|
-
Mar 28th, 2008, 07:38 PM
#1
Thread Starter
Addicted Member
VB 6.0: Memory for varables; How much is left?
Is there a way to tell how much memory you have left for declaring variables? (How many more variables can be declared before running out of memory?)
-
Mar 29th, 2008, 01:21 AM
#2
Re: VB 6.0: Memory for varables; How much is left?
No, All you have for variables/data is 64K. Why woul dyou need this kind of information anyway? I have never heard of anyone needing to know how much memory is available at coding time... Especially since each users computer will have different memory configurations anyway.
-
Mar 29th, 2008, 01:59 AM
#3
Re: VB 6.0: Memory for varables; How much is left?
In case anyone else misunderstands, as I did earlier, the 64K refers to the number of Identifiers eg (Procedures, Variables, Constants etc.) not the actual amount of memory used by those Identifiers. If you get to the point where you've defined 64K Identifiers then I'd suggest that the application should be split into two or more distinct programs.
There are other VB6 limitations that are fully decsribed here:http://msdn2.microsoft.com/en-us/lib...95(VS.60).aspx
-
Mar 29th, 2008, 02:07 PM
#4
Thread Starter
Addicted Member
Re: VB 6.0: Memory for varables; How much is left?
I just wanted to know how far I could push it befor I started getting out of memory errors.
Thanks Doogle, looking at it now.
-
Mar 29th, 2008, 02:08 PM
#5
Re: VB 6.0: Memory for varables; How much is left?
Just out of curiousity what kind of app are you building that prompted you to wonder?
-
Mar 29th, 2008, 02:42 PM
#6
Thread Starter
Addicted Member
Re: VB 6.0: Memory for varables; How much is left?
 Originally Posted by Hack
Just out of curiousity what kind of app are you building that prompted you to wonder?
That A* pathfinding thinggy I've been working on and I never really read all the limitations of VB6.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|