Setting the compiler to the smart model fixed it! Thanks for your help
everyone!
Michael Sealand
Baynet World Inc.
[EMAIL PROTECTED]
On 8/31/99 11:20 AM, Jason Dawes wrote:
>At 11:14 AM 8/31/99 -0700, you wrote:
>>
>>Any ideas? I figure it's because I moved the location of the code. Is
>>there a compiler setting that will help me here? I would prefer not to
>>move my code back the way it was because I'm attempting to split the code
>>up in to separate groups so that more than one person can work on the
>>app. Any help will be greatly appreciated.
>>
>>
>
>You're completely correct, in small model applications, the function must
>be defined within 32k of it's use, effectively limiting most programs to
>around 56k or less without using workarounds. There are a number of things
>you can do about this. Notice I said small model. You can change your
>compiler to use the smart or large model which should fix this problem (but
>may also introduce others). You can do things like creating jump islands,
>which are simply strategically placed wrappers to extend your functions:
>
>RealFoo()
>...
>< 32k of stuff
>...
>Foo()
>{
> RealFoo();
>}
>...
>< 32k of stuff
>...
>Foo();
>
>Or you can simply put your functions back.
>
>
>