Forum Discussion
David_Los_23059
Nimbostratus
Jul 26, 2006Problems with an If Statement
Hello,
I have been working on a C console application and I am having problems with an if statement that is trying to check the LocalLB.EnabledStatus.
The line of code that I am u...
Jul 26, 2006
Can you post the type of your new_obj_members variable? Is this the return from LocalLB::PoolMember::get_object_status()?
Some common problems I've seen (and have been guilty of) is calling your local variables the same as the interface
Private LocalLBPoolMember PoolMember = new LocalLBPoolMember();
If you imported the PoolMember WSDL with the namespace "PoolMember" this can cause some conflicts. I've changed my ways and made the member variables different:
private LocalLBPoolMember m_poolMember = new LocalLBPoolMember()
Not sure if this will help in your situation or not as I don't know how you've written your code. In the future, it really helps if you send the relevant sections of code around the issue.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
