Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> OLE2.CREATE_OBJ problems on client side (handle return null)
Hi,
I have a little problem with a small part of my code. When i run this code on the IAS Server everything goes as planned (the applet is running very well and i dont get a "0" from the handle.) but when i try to run it on the client side i get a null result in my handle from Forms runtime.
I really dont know what might be the problem. If anyone could help me, it would be greatly appreciate. I paste the code below this email.
Jonathan
please reply at this message at gouletjo_at_videotron.ca
PACKAGE BODY WOKSP IS
--
--
-- ////////////\\\\\\\\\\\ -- ------------------------------------------------------------------< GESTION DES INSTANCES | -- \\\\\\\\\\\\/////////// -- Creer une instance OLE2 de DQSContext FUNCTION o_Creat_Insta(P_vcDescr varchar2 default '<null>') RETURN OLE2.OBJ_TYPE IS oInsta OLE2.OBJ_TYPE; BEGIN DQS_Trace('WOKSP.o_Creat_Insta', P_vcDescr);Received on Wed Feb 06 2002 - 17:44:54 CST
-- Inscrire le paramètre dans le contexte...
oInsta := OLE2.CREATE_OBJ( C_OBJ_NAME );
-- l'objet n'existe pas, on ne peut l'obtenir!
if oInsta = C_NULL_OBJECT then
-- §19981118-1
-- Msg.Displ_Systm( 'DQS.100020', True ); message( 'Initialisation de l''objet de contexte en problème. Cause probable: non installé sur le poste. Veuillez contacter le responsable.' ); EROR.Raise_Eror( 'Initialisation de l''objet de contexte en problème. Cause probable: non installé sur le poste. Veuillez contacter le responsable.' ); exit_form; end if; RETURN oInsta; END;
![]() |
![]() |