Home » RDBMS Server » Server Administration » How to access COM components from the stored Procedures
How to access COM components from the stored Procedures [message #369949] Fri, 10 November 2000 02:06
saravanan
Messages: 70
Registered: October 2000
Member
This is the sample Program to access the COM component from the stored Procedure
But I am facing problem in setting the Listener.ORA
and TNSNames.ORA.. Anyone can help me to set this ORA file and make me to access the COM components..

declare
ChartObject binary_integer:=-1;
ChartToken binary_integer := -1;
hresult binary_integer;
begin
/* Previously, ChartObject, CharToken were initialized calling CreateObject */
hresult:=Sys.ORDCOM.getProperty(ChartObject, 'Chart', 0, ChartToken);
IF hresult=-1 THEN
dbms_output.put_line('hello');
/* Do error checking here */
-- return hresult;
END IF;
end;
Previous Topic: Query for selecting maximum value from character field
Next Topic: SQL
Goto Forum:
  


Current Time: Thu May 02 20:33:59 CDT 2024