[Implemented] Check if an object is existent ?
Posted: Wed Nov 05, 2003 7:32 pm
Hi !
I want to ask for the possebillity to check if a special object is already created or not. I you check it this way : 'if obj' and it isn't createt yet, it will declare the obj variable as long which causes an error during the compiling.
The only possebillity is to handle a second variable which tells when the object is already decleared or not.
How about: BOOL answer.l=CheckObj(Obj) ?
MFG
WolfgangS
(Implemented as 'IsXXXX()', ie: IsWindow() etc.)
I want to ask for the possebillity to check if a special object is already created or not. I you check it this way : 'if obj' and it isn't createt yet, it will declare the obj variable as long which causes an error during the compiling.
The only possebillity is to handle a second variable which tells when the object is already decleared or not.
How about: BOOL answer.l=CheckObj(Obj) ?
MFG
WolfgangS
(Implemented as 'IsXXXX()', ie: IsWindow() etc.)