Peter_APIIT
2009-07-03 08:06:17 UTC
Hello to all, i have declare some pointer and set it to point to some
instance but when i debug it, i cannot check from debugger.
Why this happening?
[code]
int main()
{
SystemIntro staffPersonnelSystem;
staffPersonnelSystem();
login loginSession;
loginSession();
usernameType theAccountUser(loginSession);
usernameType* theAccountType = theAccountUser.FactoryMethodCreate
(loginSession);
[Break point here].
theAccountType->ForwardCreator();
MenuOption anOption(loginSession);
Human* theRealPosition = theAccountType->getInstance();
theRealPosition->CallBack(anOption() );
[/code]
Autos
loginSession
theAccountUser
Local
anOption
loginSession
theAccountUser
There are no error in return type of those calls.
Thanks for any help.
instance but when i debug it, i cannot check from debugger.
Why this happening?
[code]
int main()
{
SystemIntro staffPersonnelSystem;
staffPersonnelSystem();
login loginSession;
loginSession();
usernameType theAccountUser(loginSession);
usernameType* theAccountType = theAccountUser.FactoryMethodCreate
(loginSession);
[Break point here].
theAccountType->ForwardCreator();
MenuOption anOption(loginSession);
Human* theRealPosition = theAccountType->getInstance();
theRealPosition->CallBack(anOption() );
[/code]
Autos
loginSession
theAccountUser
Local
anOption
loginSession
theAccountUser
There are no error in return type of those calls.
Thanks for any help.