Folks, I'm a new user and I'm trying to build a standalone application using libvirt-cim (rather than use a full-fledged CIMOM). I need some help. While calling the CMPIInstanceMI->ft->enumerateInstances, I need to pass a reference to CMPIObjectPath. My application is crashing because I don't know what is the correct constructor for this. If I do ref = CMPIObjectPath () then all the FT pointers are null. Can someone please guide me on how to construct CMPIObjectPath instance before passing to enumerateInstances? Thanks much Ashish -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120614/01c55a63/attachment.htm>
snmishra at linux.vnet.ibm.com
2012-Jun-14 19:46 UTC
[libvirt-users] question regarding CMPIObjectPath
Quoting Ashish Dalela <ashish.dalela at gmail.com>:> Folks, > > I'm a new user and I'm trying to build a standalone application using > libvirt-cim (rather than use a full-fledged CIMOM). I need some help.libvirt-cim is a set of providers. You still need a CIMOM.> > While calling the CMPIInstanceMI->ft->enumerateInstances, I need to pass a > reference to CMPIObjectPath. My application is crashing because I don't > know what is the correct constructor for this. If I do ref = CMPIObjectPath > () then all the FT pointers are null.you can get the complete doc at https://www2.opengroup.org/ogsys/jsp/publications/PublicationDetails.jsp?catalogno=c051 -Sharad Mishra IBM> > Can someone please guide me on how to construct CMPIObjectPath instance > before passing to enumerateInstances? > > Thanks much > Ashish