o = CREATEOBJECTEX("{148BD52A-A2AB-11CE-B11F-00AA00530503}","","{148BD527-A2AB-11CE-B11F-00AA00530503}")But then any calls against this reference don't work. NewItem("TaskName") should create a new task and return an IUnknown style pointer. I suspect this doesn't work because in order for VFP to do something with it it has to be an IDispatch return pointer.