Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescription
<object>(Required) The path and file name of the picture to load.
ReturnvalueAn OLE Dispatch interface pointer to the picture object.

See Also

Comments

You must use the Utility IUNKNOWN_RELEASE service on the returned pointer when you are finished with it.

Example

...

Code Block
// Load a OLE Picture object
bmpFile = ".\bmps\somepic.bmp"
pPicture = Utility( "LOAD_PICTURE", bmpFile )
// Do something with the picture object
...
// Call it's release method 
call Utility( "IUNKNOWN_RELEASE", pPicture )