| View previous topic :: View next topic |
| Author |
Message |
Sabetay Toros Guest
|
Posted: Fri Nov 26, 2004 7:43 pm Post subject: Debuging error |
|
|
Hi,
Sorry for posting to this group but I don't where to post.
My development tool is Cbuilder 5 . I'm trying to debug a program and I'm
encontouring an error like Error : E2451 undefined symbol. Does any body
have any idea about for this error
Thanks
Sabetay
|
|
| Back to top |
|
 |
Sabetay Toros Guest
|
Posted: Fri Nov 26, 2004 9:07 pm Post subject: Re: Debuging error |
|
|
Hi,
Also encontouring the error inspecting FDsm->dMngr : E2316 dMngr is not the
member of FDsm
How can it be compiled dMngr is not the member of FDsm.
Thanks
Sabetay
"Sabetay Toros" <bilsarbiz (AT) ttnet (DOT) net.tr> wrote
| Quote: | Hi,
Sorry for posting to this group but I don't where to post.
My development tool is Cbuilder 5 . I'm trying to debug a program and I'm
encontouring an error like Error : E2451 undefined symbol. Does any body
have any idea about for this error
Thanks
Sabetay
|
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Mon Nov 29, 2004 9:20 am Post subject: Re: Debuging error |
|
|
Sabetay Toros wrote:
| Quote: | Error : E2451 undefined symbol. Does any body
have any idea about for this error
|
This is a compiler error and I'm suprised you can do any debugging if
you are still getting compilation errors - you shouldn't have any code
to debug yet if you can't compile it.
'undefined symbol' simply means what it says. The compiler has
encountered an identifier (a variable, function or type) in your code
and it doesn't know what it is.
Unless you can actually post some example code there's nothing more I
can write really. It's a very common error and usually indicates a
spelling mistake.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Mon Nov 29, 2004 9:25 am Post subject: Re: Debuging error |
|
|
Sabetay Toros wrote:
| Quote: | Error : E2451 undefined symbol. Does any body
have any idea about for this error
|
'undefined symbol' simply means what it says. You've asked the debugger
to display the value of a given identifier and it doesn't recognise the
identifier.
Have you spelt it correctly? Is the identifier actually available at
the current execution point?
By the latter I mean:
void wibble()
{
char * henry=NULL;
}
void grundle()
{
wibble();
ShowMessage( "!" ); // << This point
}
If the debugger has your code stopped at the ShowMessage() and you try
to inspect 'henry' you will get E2451 since at the ShowMessage() point
'henry' is not known (it's local to wibble()).
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
Andrue Cope [TeamB] Guest
|
Posted: Mon Nov 29, 2004 9:27 am Post subject: Re: Debuging error |
|
|
Sabetay Toros wrote:
| Quote: | Also encontouring the error inspecting FDsm->dMngr : E2316 dMngr is
not the member of FDsm
How can it be compiled dMngr is not the member of FDsm.
|
I don't understand what you are asking here. You are trying to inspect
'FDsm->dMngr' and the debugger is telling you that FDsm doesn't have a
member called 'dMngr'.
Without seeing the declaration for 'FDsm' there's not much more anyone
can say. You really need to supply us with more information when you
ask a question. Remember that we aren't sitting next to you and don't
have access to your source code.
--
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
|
|
| Back to top |
|
 |
|