"Farzin Ashraghi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi folks, > > It seems that I'm having a memory limitation problem. > > My application now have 52Kb of size. When I try to insert new routines, > this message appears: > > "16-bit code reference to '(some routine)' is out of range" > > So, please, tell me how to solve this problem. I was looking other > applications which are much bigger than 64kb even. How may I develop larger > applications? > > Thank you very much for your help. > > Farzin > > >
The quick solution is to see which function the compiler is complaining about and move that closer to any calling functions. For example, if PilotMain calls a function called MyFunction, but MyFunction( ) is at the top of your code and PilotMain is at the bottom of the code, you will have the error you have listed above. If it is more serious than that and you have a lot of code, try segmenting your application. I haven't done this but have seen it referenced in the Palm documentation. You might look there. Hope that helps! Kelly -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
