Subject Re: Turn off auto compile??
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Tue, 28 Oct 2014 17:46:48 -0700
Newsgroups dbase.getting-started

On 10/28/2014 1:08 PM, Bruce Beacham wrote:
> On 28/10/2014 15:58, David wrote:
>> Is there any way to turn off the auto compile feature?
>> It seems that when I make changes in the editor & test run  - the auto
>> compiled code runs instead - often after I immediately compile my
>> newly edited file -  or delete the compiled versions of code in advance.
>
> It sounds like you're experiencing something mentioned a while ago, that
> when a code file is re-compiled then the copy of the previous version of
> the object code, lodged in memory, is not necessarily replaced by the
> newly-compiled version.
>
> Re-starting PLUS should clear it but that is massively inconvenient.
>
> Which version of PLUS are you using?

In your executable, set the property of the _app object:

_app.allowDEOExeOverride := false

This will tell dBASE to not use external code, only the code that is
compiled into your .exe.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#dUFLP
dBASE Books: http://www.goldenstag.net/dbase/dBASEBooks.htm