OPEN API

Please tell what is Oracle Open API, what 's the differences between Open API and OCI? If you could introduce some materials on web, it would be great.
ge

Hi,
I recommend getting in touch with the tools vendor or to follow his setup instructions. If teh tool e.g. is created for an older version of Forms, then maybe an update of the tool is required.
Frank

Similar Messages

  • font color=red Create/Modify forms and triggers through C++ using OPEN API

    <font color=red>
    Dear brothers/sisters<font color=darkblue>
    <br><br>
    Please help us to find the linking problem.
    <br>
    We have to add PRE-FORM trigger to many FMBies. We have thousants of FMBies. So opening one by one is difficult. For this we are using OPEN API and BORLAND C++. We have coppied all header files from D:\orant\FORMS60\API.
    But there is a link error. Here is the snippet.
    <br>
    <font color=red>
    <br>#include <stdio.h>
    <br>#include <stdlib.h>
    <br>#include <malloc.h>
    <br>#include <d2fctx.h> /* Forms API context */
    <br>#include <d2ffmd.h> /* Form module header file */
    <br>int main (int argc, char *argv[])
    <br>{
    <br>d2fctxa ctx_attr;
    <br>d2fctx *ctx;
    <br>d2ffmd *form;
    <br>text *form_name;
    <br>/* Check arguments */
    <br>if ( argc != 2 )
    <br>{
    <br>fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
    <br>exit(1);
    <br>}
    <br>/* Create Forms API context */
    <br>ctx_attr.mask_d2fctxa = (ub4)0;
    <br>if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error creating Forms API context\n");
    <br>exit(1);
    <br>}
    <br>/* Load the form module into memory */
    <br>if ( d2ffmdld_Load(ctx, &form, argv[1], FALSE) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
    <br>exit(1);
    <br>}
    <br>/* Get the name of the form module */
    <br>if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error getting the name of the form module\n");
    <br>}
    <br>else
    <br>{
    <br>/* Print the name of the form, then free it */
    <br>printf ("The name of the form is %s\n", form_name);
    <br>free(form_name);
    <br>}
    <br>/* Destroy the in-memory form */
    <br>if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error destroying form module\n");
    <br>}
    <br>/* Close the API and destroy context */
    <br>d2fctxde_Destroy(ctx);
    <br>return 0;
    <br>}
    <br>
    <font color=darkblue>
    <br>
    The compilation is success. But there is a link error. Please help us to find the problem.
    <br><br>
    Here is the error Message.
    <br>
    <font color=red>
    <br>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    <br>FIRST.CPP:
    <br>Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    <br>Error: Unresolved external '_d2fctxcr_Create' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdld_Load' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdgt_GetTextProp' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2fctxde_Destroy' referenced from D:\API\FIRST.OBJ
    <br><br>
    <font color=darkblue size=4>Could you please help us.......<br>

    <font color=red>
    Dear brothers/sisters<font color=darkblue>
    <br><br>
    Please help us to find the linking problem.
    <br>
    We have to add PRE-FORM trigger to many FMBies. We have thousants of FMBies. So opening one by one is difficult. For this we are using OPEN API and BORLAND C++. We have coppied all header files from D:\orant\FORMS60\API.
    But there is a link error. Here is the snippet.
    <br>
    <font color=red>
    <br>#include <stdio.h>
    <br>#include <stdlib.h>
    <br>#include <malloc.h>
    <br>#include <d2fctx.h> /* Forms API context */
    <br>#include <d2ffmd.h> /* Form module header file */
    <br>int main (int argc, char *argv[])
    <br>{
    <br>d2fctxa ctx_attr;
    <br>d2fctx *ctx;
    <br>d2ffmd *form;
    <br>text *form_name;
    <br>/* Check arguments */
    <br>if ( argc != 2 )
    <br>{
    <br>fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
    <br>exit(1);
    <br>}
    <br>/* Create Forms API context */
    <br>ctx_attr.mask_d2fctxa = (ub4)0;
    <br>if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error creating Forms API context\n");
    <br>exit(1);
    <br>}
    <br>/* Load the form module into memory */
    <br>if ( d2ffmdld_Load(ctx, &form, argv[1], FALSE) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
    <br>exit(1);
    <br>}
    <br>/* Get the name of the form module */
    <br>if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error getting the name of the form module\n");
    <br>}
    <br>else
    <br>{
    <br>/* Print the name of the form, then free it */
    <br>printf ("The name of the form is %s\n", form_name);
    <br>free(form_name);
    <br>}
    <br>/* Destroy the in-memory form */
    <br>if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
    <br>{
    <br>fprintf(stderr, "Error destroying form module\n");
    <br>}
    <br>/* Close the API and destroy context */
    <br>d2fctxde_Destroy(ctx);
    <br>return 0;
    <br>}
    <br>
    <font color=darkblue>
    <br>
    The compilation is success. But there is a link error. Please help us to find the problem.
    <br><br>
    Here is the error Message.
    <br>
    <font color=red>
    <br>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
    <br>FIRST.CPP:
    <br>Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
    <br>Error: Unresolved external '_d2fctxcr_Create' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdld_Load' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2ffmdgt_GetTextProp' referenced from D:\API\FIRST.OBJ
    <br>Error: Unresolved external '_d2fctxde_Destroy' referenced from D:\API\FIRST.OBJ
    <br><br>
    <font color=darkblue size=4>Could you please help us.......<br>

  • Creating Modules using Open API

    Hi,
    I am trying to create Form module using Open API.
    What I would like to know is :-
    1. How to link the source file (c++) against the Open
    API library (f60d2f32.lib).
    The c++ source file, Does it have to be .c extension ?
    2. Compile the files to create an executable.
    Anyone got any idea or can point to URL where I can get more info.
    Thanks - Appreciate your help.

    This really needs to go to one of the Developer (FOrms/Reports) forums, but any interface to Forms/Reports/Etc. will need to be compiled and linked as 'C', not 'C++'.

  • Open API App (Windows based) fails to open FMB on Unix file system

    My Open API, Windows based app, can successfully open and 'get' properties of FMBs stored in the Windows file system. However, it fails to load the FMB when the FMB resides on a networked Unix server. The same FMBs on Unix can be opened by the Windows based FormBuilder (over the network). I can copy the FMB down to Windows and without re-compiling the FMB, my Open API app can 'load' the FMB and 'get' all the properties. What suggestions can you give for debugging / resolving this? I need to be able to 'Load' the FMBs (through the Open API), that reside in the Unix file system, from Windows.
    JJ

    Generally, this is why we will tell you that accessing net shares is not supported and in places where it might even be supported, we would still suggest that it is not recommended. Accessing via net shares (especially through Windows) is often problematic. There are various performance and connectivity issues that, unfortunately fool you into believing that the product you are using is flawed when the problem is really a connection issue with the share.
    In your case, because you are not exactly using an Oracle product (initially), Oracle can't offer much anyway, but I would recommend against using shares whenever possible. If you need to access a file, copy it locally first, perform whatever task on it, then return the updated file to its origin. This method protects you from things like net failure and instability as well as the performance issues associated with accessing files remotely.

  • Open api fails when trying to open disk /dev/disk0s1 /dev/disk0s2

    hi,
    open api fails when trying to open disk /dev/rdisk0s1 /dev/rdisk0s2.
    /dev/disk0s1 has efi and /dev/disk0s2 has hfs as volume type.
    It gives me permission denied error.
    then how can i open this disk?

    Hi Dave,
    We discuss SQL Server data access related issue in this forum. In your case, it mightbe more
    appropriate to discuss this issue in the forum below:
    Visual Basic forum: http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral
    Thanks for your understanding.
    Regards,
    Elvis Long
    TechNet Community Support

  • Forms 5 Open API Problem

    How can the displayed text of an existing Graphics Text
    (Boilerplate) be modified with Open API functions?
    All(?) properties of all Forms objects can be modified with
    function calls similar to the calls in the example below. Just
    this one seems impossible.
    (See Forms builder help topic "Open API, creating module")
    Code fragment:
    /* create a Graphics Object */
    status = d2fgracr_Create( pd2fctx , pd2fcnv,
    &pd2fgra, (text*) "MYTEXT" );
    /* set Graphics type to TEXT */
    status = d2fgras_graphics_typ(pd2fctx,pd2fgra,D2FC_GRTY_TEXT);
    /* set displayed text to "TEXT1" */
    status = d2fgras_gra_text(pd2fctx,pd2fgra,(text*) "TEXT1");
    /* Modify "TEXT1" to "TEXT2" */
    status = d2fgras_gra_text(pd2fctx,pd2fgra,(text*) "TEXT2");
    /* Check value; ought to be "TEXT2" */
    status = d2fgrag_gra_text(pd2fctx,pd2fgra,&tex);
    printf("%s",tex); /* prints TEXT1 !!!????*/
    null

    I checked PATH environment variable and it already contains path having Forms DLLs in it.
    After that I deinstalled Oracle 9 database from computer and tried again to start my program.
    Now it works but I don't know why it was having trouble creating context with d2fctxcr_Create when database was installed on computer.
    Anyway, I might need database in the future so I would like that it coexists peacefully on my computer with Oracle Designer. How can I achieve that? Tnx in advance.

  • OPEN API: What do I have to do to create program units?

    What do I have to do to create program units? Which properties do I have to set?
    I have tried the following code, but it haven't
    worked. Could anybody post the example how do that.
    I use Forms 6.0 Client/Server, Windows 2000.
    Here is my code:
    // I believe, the OPEN API is loaded and
    // form is created correctly.
    // pd2fctx is an open api context; pd2ffmd is a form
    char *pu_name="TEST";
    char *pu_text="CREATE PACKAGE TEST IS\n"
    "PROCEDURE PROC1;\n"
    "END;";
    d2fpgu *obj=0;
    status=d2fpgucr_Create( pd2fctx, pd2ffmd, &obj, (text*)pu_name );
    CheckError( status, "d2fpgucr_Create fails" );
    // These lines don't set the property values, I don't know why :(
    int status=d2fobsn_SetNumProp( pd2fctx, obj, D2FP_PGU_TYP, D2FC_PGTY_PACKAGESPEC );
    CheckError( status, "d2fobsn_SetNumProp fails" );
    status=d2fobst_SetTextProp( pd2fctx, obj, D2FP_PGU_TXT, (text*)pu_text );
    CheckError( status, "d2fobst_SetTextProp fails" );
    // It shows this mistake.
    status=d2fobgn_GetNumProp( pd2fctx, obj, D2FP_PGU_TYP, & obj_type );
    status=d2fobgt_GetTextProp( pd2fctx, obj, D2FP_NAME, (text **)& obj_name );
    status=d2fobgt_GetTextProp( pd2fctx, obj, D2FP_PGU_TXT, (text **)& obj_txt );
    printf("D2FP_NAME=%s\nD2FP_PGU_TYP=%i\nD2FP_PGU_TXT=%s\n", obj_name, obj_type, obj_txt );
    // The result of execution of these lines is:
    // D2FP_NAME=TEST
    // D2FP_PGU_TYP=0
    // D2FP_PGU_TXT=(null)

    System Preferences > Keyboard
    Enable "Adjust keyboard brightness in low light"
    Adjust the slider for "Turn off when computer is not used for"
    Best.

  • Create lov using open api

    i want to create a assistant of lov using open api(code C).
    can anyone give me the steps and procedures for do this .

    This really needs to go to one of the Developer (FOrms/Reports) forums, but any interface to Forms/Reports/Etc. will need to be compiled and linked as 'C', not 'C++'.

  • Forms Open API and ActiveX

    I need to access the open api and display some of the activex related information stored in our forms. The api header files i have (6i release 2) do not have the required macro d2fitmg_activex_val_prop, which should be in the file D2FITM.H. Nor can I find D2FP_ACTIVEX_VAL_PROP. Both are descibed in the online help, but missing from the headers. I do not whether the .lib file supports it.
    Can anyone tell me what I should do? Where I can find the latest API? I downloaded Forms 6i Release 2 only yesterday, but the header files are the same.
    Thank you for your time.

    This is a bug in the documentation. The property in question is not exposed through the API.
    In the builder when you select this property within the Property inspector, the Control then pops up it's own property palette. There is no way we can do that in batch so the property is not exposed.

  • Open API compile *.c in Windows with gcc

    Hello,
    Here is my Code I want to compile:
    http://rafb.net/p/h0qYEL56.html
    my compiler is gcc and I compile it like that:
    gcc -WALL -o traverse.exe -c traverse.c -Ic:/orav60/FORMS60/API
    he compile my traverse.c with warnings, but the exe is not executable.
    please help
    Paul

    YEAH I got it!
    the Solution is
    gcc -o traverse.o -c traverse.c -IC:\orav60\FORMS60\API
    gcc traverse.o c:/orav60/FORMS60/API/ifd2f60.LIB -o traverse
    1. Compile an Objectfile from the c and you get *.o
    2. bind the *.o with the c:/orav60/FORMS60/API/ifd2f60.LIB and compile it
    greetings
    Paul

  • Open API with Reports

    Hi,
    I need to write a C program that will load a report, read/write it and then save it. I know that this is possible to do it with Forms modules . But i got some pb with report modules !
    I saw that this API is managing some Report Object but this object does not have any method to load or save.
    So I think that the Report object of the API is here to be use with reports which are included in a Forms and so the report included is processed in the API as any other object (canevas, block, ...). Am i right ?
    Anyway, there must be a solution while the software FormsTool is reading report or forms and can compare them so there must be a way to read into a Report.
    I hope you can help me.
    I forgot to mention that I work with both Report 2.5 and 6.

    No
    When i said load, read/write, etc..., i mean manipulate it like i would manipulate a Forms module with the Forms API.
    For example, with the Forms API, you can do :
    /* Load the form module into memory */
    d2ffmdld_Load(ctx, &form, file_name, FALSE);
    /* Get the name of the form module */
    d2ffmdg_name(ctx, form, &form_name)
    /* Print the name of the form, then free it */
    printf ("The name of the form is %s\n", form_name);
    where form is an object of the API that represent a form.
    and there are other method to change the form.
    I would like to do the same with a report.
    Thanks for your help.

  • Importing outside of API / Open Interface supported?  Partial Workflow ?

    Hi there
    I've been asked to find out if importing data not using the API or Open API is supported by Oracle?
    There is a proposal to import orders into Order Management from a legacy database. Some of these orders may be partially through the workflow chain.
    As far as I can see, Oracle doesnt provide an API to import Orders which are part the way through the workflow, so if we were to import them, it would have to be custom code.
    I want to know if this is supported or doable (I'm hoping not!)
    Thanks
    Scott

    Hi;
    Please check below notes which could be helpful for your issue:
    How To Import Orders With Skipped Lines Using Process_Order API [ID 746172.1]
    Where Can I Find a List of APIs Supported by Data Pump? [ID 759150.1]
    Oracle Order Management Suite White Papers [ID 113492.1]
    Also check:
    Order Import and Prerequisites for order Import
    http://oracleebusinesssuite.wordpress.com/2007/11/07/order-import-and-prerequisites-for-order-import/
    Oracle Order Management APIs and Open Interfaces Manual, Volume 1
    download.oracle.com/docs/cd/A91130_01/acrobat/115omapi.pdf
    Regard
    Helios

  • Is there existing open Java APIs for time dependent ShortestPath function or routing on NDM Model?

    According to slides here (Page #44-46), there should be some API for that purpose.
    But when I focus on that sample and the open API provided here , I cannot find such function that realize it.
    Could someone briefly describe the time dependent SP APIs for that purpose?
    Thank you.

    According to slides here (Page #44-46), there should be some API for that purpose.
    But when I focus on that sample and the open API provided here , I cannot find such function that realize it.
    Could someone briefly describe the time dependent SP APIs for that purpose?
    Thank you.

  • API's for email and SMS

    Hi,
    Does anyone know of there are any API's to open and read SMS and email messages?
    Also, are there any API's to do with turning off the audiable alert upon receipt of SMS and emails.
    The final API I am interested is one that makes an audiable alert.
    Please could anyone throw any light on what I am after.
    Many thanks in advance.
    Richard Thomas.

    Richard,
    While still in the specification phase,
    look for JSR120 Wireless Messaging API.
    This is being done through the JCP Process.
    See:
    http://www.jcp.org/jsr/detail/120.jsp
    Siemens is the Spec Lead, with nearly
    every wireless player and Java technology
    player in the expert group. This API was
    conceived to address the lack of a standard
    and open API for SMS Messaging, among other
    things.
    I don't know the specifics about time tables
    for this to become available (either spec,
    api, or implementation), but you can bet
    that all of the handset makers on this
    JSR have implementations ready to go.
    Good luck.
    David
    Hi,>
    Does anyone know of there are any API's to open and
    read SMS and email messages?>
    Also, are there any API's to do with turning off the
    audiable alert upon receipt of SMS and emails.>
    The final API I am interested is one that makes an
    audiable alert.>
    Please could anyone throw any light on what I am
    after.>
    Many thanks in advance.>
    Richard Thomas.

  • After upgrading from Prosight V6 to V7.5 we are having issue with API's

    Team,
    Current version 6 of prosight upgraded to version 7.5. We are having our external webservice consumes Prosight webservice which defaulted installed under ProsightWS virtual directory. After up gradation we are running into issue in external application ,application unable to communicate to Prosight new version webservices. Fails in the time of calling in Login method itself in the psPortfoliossecturiy service.
    Exception as follows:
    “System.Web.Services.Protocols.SoapException: Could not create Security Token for specified User and Password at ProSight.Portfolios.WebServices.WS.psPortfoliosSecuritySOAP.Login(String sUser, String sPassword, Int32 lTimeOut) “
    Our web application uses a dedicated user account to interact with Prosight webservice and it runs under windows authentication. Application build on ASP.NET 2.0 and later.
    The sad part here is , our web application running perfectly with Prosight v6. :( I would appreciate if anyone could help us to resolve this issue. This is blocking our up gradation from 6 to higher version of prosight.
    Thanks for your valuable time
    Regards,
    Jithesh

    Here is the offical documentation from version 8.0 on the backward-compatability of the APIs. This document comes the version 8 installer. Not sure this helps you with the 7.5 issues, but hoping it will help:
    Considerations for applications using the PPM Open API via COM
    Applications which use the Primavera Portfolio Management (PPM) Open API via any interface (COM, SOAP/RCP or Document/Literal) and were developed and used with previous versions of PPM will continue to operate without the need for recompilation, as Primavera Portfolio Management 8.0 provides full binary backwards compatibility for all of the Open API interfaces. New functionality is available only to applications that are written to take advantage of such functionality.
    Note however that any process can only load and use one version of the Microsoft .NET Framework. Therefore, applications developed with the .NET Framework 1.1 cannot use APIs to communicate with software developed using the .NET Framework 2.0 if this would cause the same process to need to load both versions of the .NET Framework.
    This means that if any part of an application that uses the Open API which was developed using .NET Framework 1.1 communicates directly with PPM using the COM API (which is in-process), that part of the application would need to be recompiled to target the .NET Framework 2.0. If on the other hand, the application developed using .NET Framework 1.1, only communicates with PPM using SOAP RPC or Web Services (which are out-of-process) then there is no issue.
    Instead of recompiling, it is usually sufficient to ”force” the existing executables to actually use the .NET Framework 2.0 instead of the native version of the .NET Framework for which they were compiled (1.1). This can be achieved by using an application config file with the following content:
    <?xml version ="1.0"?>
    <configuration>
    <startup>
    <supportedRuntime version="v2.0.50727" />
    </startup>
    </configuration>
    The application config file can easily be created using Notepad or something similar. It does not need to be compiled in any way. It should be named with the exact same name as the executable file plus the suffix “.config”. For example: if the application executable file is called “Tester1.exe” then the config file must be named “Tester1.exe.config”. It must be placed in the same directory as the executable file.
    The config file “forces” the application to use the .NET Framework 2.0, which would mean that even when using COM (in-process) Open API calls to PPM, there would still be only one version of the .NET Framework involved in the process (.NET 2.0).
    ----------------------------------------------------------------------------------------

Maybe you are looking for

  • Windows xp restarts

    i have a pc with msi 648 f neo motherboard  after i install windows xp pro sp1 when i choose to shut down the pc restarts and  i must power off the pc from power plug can any one help in this  

  • ITunes U courses artwork not being downloaded

    Hi; I watch lots of iTunes U courses; artworks for courses I download are usually not included. Is there anyway of getting their artwork? Thank you.

  • Itunes problems up the wazoo

    Getting problems such as: ipod cannot be detected cant download the newest version when repairing my current itunes, says i cant install ipod service (recommends i check if i have proper privliges) ((which leads to the first prob)) everything says i

  • Time machine first backup

    I have 2 mac books and a 24" I mac. Just bought Time Capsule. Backed up fine on the Mac Books but it refuses to Back up the I mac. It says that The size is too big and the TC does not have space. I know for a fact that is not true. Mt TC is a tera, a

  • Slowing the Particle Speed in After Effects Particle World?

    Hi folks, does anyone know if there is a way to slow down the line particle speed in after effects? I've already tried the Velocity and Gravity but these affect the shape and projectory of the particles, I'd like to just slow down the speed? Thanks