Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: ObsidianWolf on January 20, 2004, 10:17 AM

Title: 64k Error
Post by: ObsidianWolf on January 20, 2004, 10:17 AM
Recently ran into the Following error while making some types.

Fixed or Static data can't be larger then 64k

Is there a way around this?
Title: Re:64k Error
Post by: ObsidianWolf on January 20, 2004, 10:51 AM
nm, Mesiah helped to solve problem already.
Title: Re:64k Error
Post by: Grok on January 20, 2004, 12:40 PM
Quote from: ObsidianWolf on January 20, 2004, 10:51 AM
nm, Mesiah helped to solve problem already.

So share problem and your resolution.  Help other people learn.
Title: Re:64k Error
Post by: ObsidianWolf on January 20, 2004, 02:10 PM
Well I was using way too many variants(being lazy).  He suggested not using variant as to they are not as efficient.  Took the time out to figure what I needed for each variable to work better.

I was using a Public Type to hold data grabbed from a config file and other files.  The main problem was the array.  Too many large arrarys within the type.

After I changed the variables to values that helped slim down memory usage and added errorhandlng.  Worked tons better.
Title: Re:64k Error
Post by: R.a.B.B.i.T on January 20, 2004, 05:21 PM
Quote from: ObsidianWolf on January 20, 2004, 10:17 AM
Recently ran into the Following error while making some types.

Fixed or Static data can't be larger then 64k

Is there a way around this?
...or you could use C++ and just overload.  C++ is better anyways (even though I suck at it).
Title: Re:64k Error
Post by: Banana fanna fo fanna on January 21, 2004, 08:23 PM
Quote from: R.a.B.B.i.T on January 20, 2004, 05:21 PM
Quote from: ObsidianWolf on January 20, 2004, 10:17 AM
Recently ran into the Following error while making some types.

Fixed or Static data can't be larger then 64k

Is there a way around this?
...or you could use C++ and just overload.  C++ is better anyways (even though I suck at it).
Or he could not waste his time learning a language that is overkill for what he's doing.
Title: Re:64k Error
Post by: ObsidianWolf on January 22, 2004, 11:20 AM
Im just sprouting forth from VB'Newbness and someone suggests that I should go be a c++ newb... figures