Oracle Foreign Function (ORA_FFI)
Date: 1996/10/25
Message-ID: <54pem1$l7f_at_dfw-ixnews5.ix.netcom.com>#1/1
I have been quite successful at writing Forms 4.0/4.5 userexits. I am now trying to use ORA_FFI built-ins to execute a very simple C DLL which receives two LPSTR pointers as parameters. I am simply using the MessageBox function in Visual C++ 1.51 to display these parameters. I have followed the PL/SQL wrapper example provided with Forms 4.5 called WINSAMP.FMB/FMX. Though I am able to get upto the call, nothing inside the C function seems to execute. The PL/SQL constants I have used are C_CHAR_PTR and the starting memory location is 11265. I tried compiling the DLL as a large, medium and small memory model, but there were no results returned from the DLL. Could anyone out there please point out where I might be making a mistake ? Is it possible that the DLL I cam creating should be created like an userexit instead of an ordinary DLL ? Thanking you iin advance.
G.V.Ramesh Received on Fri Oct 25 1996 - 00:00:00 CEST