Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exception C05 @ typing opening paren of method call
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Exception C05 @ typing opening paren of method call
Miscellaneous
Thread ID:
00691050
Message ID:
00691050
Views:
46
code available here: http://home.triplethreatsoftware.com:81/test.zip

A class library exists with a class in it called Intake_Logic. This class has almost no code in it at all except for some place-holder comments in 3 or 4 methods. Enter the evaluateRules() method and try to type in the "this.returnRules(" line and if you're special, you'll get a C05 crash.

I'm running Win2k Pro, SP3. VFP7 sp1.
Tried it on two other Win2k machines both with VFP7 sp1 and one crashed, the other didn't. Have removed and re-installed Fox on this machine, no change. The one that didn't crash is running the same build of Win2kPro with the same version of Fox (07.9465)

It seems like it's crashing as it's trying to bring up the parameters list for the returnRules() method.

Any Thoughts?

Cole

LOCAL cAdditionalParameters

IF !EMPTY(THIS.nIntakeNumeber)
** Set no additional parameters
cAdditionalParameters = ""
ELSE
** Set additional parameters
cAdditionalParameters = "nIntakeNumber = " + ALLTRIM(STR(this.nIntakeNumber,10,0))
ENDIF

this.returnRules(
** right here ^^

IF SQLEXEC(this.nConnectionHandle,
Next
Reply
Map
View

Click here to load this message in the networking platform