Ole automation problem

From: Martin Venable <martin.venable_at_sympatico.ca>
Date: 1997/06/26
Message-ID: <33B26527.4061_at_sympatico.ca>#1/1


[Quoted] OLE2.CREATE_OBJ returns 0 when I try to create a 'NovellGroupWareSession' ole2 object with Forms 4.5


I want to do ole automation with a Novell Groupwise 5.1 ole2 object and the OLE2.CREATE_OBJ function always return 0 so I can't invoke any methods of the object.

I tried it with Borland Delphi, Visual Basic for Excel, ..., and it all worked but I cant't make it work with Oracle Forms 4.5.7.0.10 (Production).

Had anyone had this problem with this or another ole2 server ? And, what is the solution ? Or what should I look for ?

The Oralce Forms 4.5 code is :


Declare

        oGroupwise ole2.obj_type;
Begin

	oGroupWise := OLE2.CREATE_OBJ('NovellGroupWareSession');
	IF NVL(oGroupWise,0) = 0 THEN
	MESSAGE('Error when creating the object NovellGroupWareSession');
		RAISE FORM_TRIGGER_FAILURE;
	END IF;
	...

End ; Received on Thu Jun 26 1997 - 00:00:00 CEST

Original text of this message