请教!!(50分)

  • 主题发起人 主题发起人 0008
  • 开始时间 开始时间
0

0008

Unregistered / Unconfirmed
GUEST, unregistred user!
createoleobject 适合创建那些对象!!????????
 
双击olecontainer,自己看
 
你把system的ole 加入后,双击可知
 
CreateOleObject

Creates an instance of an OLE object, returning a variant containing a reference to the object’s IDispatch interface.

type(VARIANT) function CreateOleObject (ObjRef, iRet)
{
character(len=*),intent(in):: ObjRef |
type(GUID),intent(in):: ObjRef
}
integer(HRESULT_KIND),intent(out),optional:: iRet

If the object is created successfully, CreateOleObject returns a variant containing
a pointer to the IDispatch interface of the object, and iRet is set to S_OK.
Otherwise, the returned variant is of undetermined value, and iRet contains a negative
number indicating the nature of the error.
 
接受答案了.
 
后退
顶部