-
March 17th, 2012, 12:01 PM
#1
Error C2064 "term does noet evaluate to a function taking () argument
Hello all!
I get this error:
Code:
error C2064: term does not evaluate to a function taking 0 arguments
First I didn't got this error for some reason, but now I do 0,0.
Here's the piece of code where error exists:
Code:
if(GrabHour() + ":" + GrabMinute() + ":" + GrabSecond() == ListItem->SubItems[2]->Text)
Yes I declared all the "Grabs", ListItem etc. It's all about the "(" & ")", that's what the error is actually saying. But because I didn't have this problem before, I don't know how to solve this stupid problem.
-
March 17th, 2012, 01:27 PM
#2
Re: Error C2064 "term does noet evaluate to a function taking () argument
We will need a lot more information to help you with this. Depending upon how GrabHour/Minute/Second etc are defined, this code could be ok.
Please give as much information as possible about these definitions. If possible, post a complete, minimal program which we could actually (try to) compile to see the error for ourselves.
-
March 17th, 2012, 02:10 PM
#3
Re: Error C2064 "term does noet evaluate to a function taking () argument
Nevermind.
Got it fixed, it was a stupidos fail.
I had labels called GrabHour, GrabDay etc. etc.
I renamed all the labels with the lbl in front.
Thanks for your time.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|