I am working on an application that uses VFP 8 and CODEMINE 7.1. The application has been working fine until recently. After adding a class to one of the class libraries, the following error message started showing when certain toolbar buttons were clicked on.
=====================================================================
Error Number : 45
Error Message : Not a character expression.
Source Code : THIS.AddProperty('aErrorModeStack[1]')
Method : <
>.cmbindingmanager.init
Program Stack:
<>.cmbindingmanager.init - common50\cmdataa.vct
chkcheckbox.init - common50\codemine.vct
chktoolindicatorbutton.init - common50\cmtools.vct
chktoollaunchbutton.init - common50\cmtools.vct
=====================================================================
I discovered that by removing any class in any of the class libraries (not codemine's) the error would go away. By adding any new class to any of the class libraries the error would reappear. If I remove any one class library from the library load process the error goes away.
It seems the application has hit some limit either in CodeMine or VFP. The error will not occur when running the EXE from the VFP IDE, only when using the runtime.
Any ideas what the cause is or the solution?
Aubrey