[gme-users] probklems with findByID (BON2)
f35594 at Danfoss.com
Mon Oct 23 21:08:10 CDT 2006
I have a problem with the function findByID that throws an exception on line 50 in bonimpl.cpp.
Currently I am using the function in order to check the current model against a backup model (XML) where I have the IDs stored of each object. If the object is present in the current model it functions correctly, but if it is not present the exception is thrown.
Therefore, how should I use the function?
if(0 == project->findByID(Id not present in the model, true))
// Object with id not present
// Object with id present.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gme-users