I looked in the CNiPicture header and the looks like the constructor you need 2 parameters. Try the following
CPictureHolder half;
half.CreateFromBitmap(IDB_BITMAP1);
CNiPicture myPicture(half.GetPictureDispatch(),false);
m_graph.Images(3).SetPicture(myPicture);
I hope this helps
Bilal Durrani
NI
Bilal Durrani
NI