Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Fixed or Static Data can't be over 64K


Growlith1223
 Share

Recommended Posts

Either make it into an array, rather than duplicate it, as in:

Instead of

```

Public Verdana As CustomFont

Public Georgia As CustomFont

Public Helvetica As CustomFont

Public Tahoma As CustomFont

```

Make it

```

Public Const MAX_FONTS As Byte = 4

Public Font(1 To MAX_FONTS) As CustomFont

Public Enum Fonts

Verdana = 1

Georgia

Helvetica

Tahoma

End Enum

```

or move some other structures/UDTs/whatever you decided call them into a new module.

For the first suggestion, it does require some rewriting on the loading, unloading, and usage, so take a backup.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...