Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 45 - CodeMine or VFP has hit it's limit?
Message
From
01/09/2005 21:52:08
James Chan
Objectmastery Pty Ltd
Hawthorn, Australia
 
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00974814
Message ID:
01046082
Views:
31
Hi Aubrey,

I also have similare problems and wonder if you have got any further with yours?

I recently have 2 similar problems like yours. Both of them trigger the "Error 45: Not a character expression" error.

In the first one, I merged two class methods to one, the problem went away.
In the second one, I changed a SQL so as not to use a variable in the 'FROM' clause as below and the problem went away.
select TT.* from (AliasName) TT where TT.Id > 100   && this trigger the Error 45
select TT.* from MyTable TT where TT.Id > 100       && no more errors
I don't think I find the solution and hope you (or someone out there) can point me to the right direction.

Thanks.

>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?
James Chan
ObjectMastery Pty Ltd
Previous
Reply
Map
View

Click here to load this message in the networking platform