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.

Similar Messages

  • Photoshop will not open anymore, what do i have to do

    photoshop will nog open anymore, when i try to activate the pictures in bridge they won't open either, what do i have to do

    If you use extensions (Tools > Add-ons > Extension) like <i>Adblock Plus</i> or <i>NoScript</i> or <i>Flash Block</i> that can block content then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • What do I have to do in creating a Keynote presentation on my MAC so that when I send it to my iPad, I don't have to re-do the presentation all over again as the fonts have changed, sizing has changed and everything is basically a mess?

    What do I have to do in creating a Keynote presentation on my MAC so that when I send it to my iPad, I don't have to re-do the presentation all over again as the fonts have changed, sizing has changed and everything is basically a mess?
    I have downloaded many of my previous Keynote presentation into my new ipad mini and not ONE has opened properly
    Rather defeats the purpose of icloud, synching, Keynote on IOS etc doesn't it?
    Any tips anyone?
    Cheers
    Philip

    Thanks for this Gary. Much appreciated. Will help with future ones.
    Still a bit like using keynote in 'safe mode' and very limiting.
    If anyone produces an 'auto convert' app that will save me the work of fixing existing presentations slide by slide, I'm buying it :-)
    Thanks again

  • My profile keeps disappearing after I close Firefox. In order to open it back up, I have to keep re-creating a new one. How to fix?

    I've already uninstalled, and reinstalled Firefox, and no dice. If I don't re-create the new profile, I get the error message that the profile is missing or inaccessible when trying to open firefox. I have to open the browser by clicking on the new profile I just created in the profile manager box.

    This can be caused by a problem with the profiles.ini file.
    It is probably best to delete the profiles.ini file to force Firefox to create a new default profile
    *http://kb.mozillazine.org/profiles.ini_file
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *Windows: %AppData%\Mozilla\Firefox\<br>C:\Users\&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;profile&gt;\
    *Linux: ~/.mozilla/firefox/
    *Mac: ~/Library/Application Support/Firefox/
    *http://kb.mozillazine.org/Profile_Manager
    *https://support.mozilla.org/kb/Managing+profiles

  • 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

  • I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder "Music" can't be opened because you don't have permission to see its contents."?

    I backed up my old core 2 duo imac and and was trying to transfer files to my new 2011 imac and when i go to oppen a folder from what i transferred it says "The folder “Music” can’t be opened because you don’t have permission to see its contents".  Why cant i access the files from my old mac?  I tried the time machine and that isnt working either.  I have files that I need to use on my new mac, all my old programs and such.  I thought they said it was easy to get your files from one mac to another.  Please help.

    Your account names are probably different on the two Macs. If you know the UNIX command line, open a terminal window and run:
    $ id 
    You should see a line that starts with something like this:
    uid=501(your_user_id_here)
    now check the owner of the folder you copied over:
    $ ls -ld Music
    drwx------+ 8 some_user_id_here  staff  272 May 14 16:08 Music
    Do the IDs match? If not, you could change the ownership. Say your id is "johnsmith"
    $ chown -R johnsmith Music
    Now try and access it with iTunes.

  • HT1481 I have an ipod shuffle which i need to reset as i can not sinc it on my laptop which is using windows 8, but when i open itunes i d not have the 'source panel' on the left hand side which should show up my ipod. any ideas what i need to do? please

    Hi  I have an ipod shuffle which worked well on my old pc but since i have tried to link it with my new laptop I cant get it to sinc. I have athorised the device to my laptop so i thought it maybe worth resetting it but all the info I have read tells me that to reset my ipod i need to open i tunes and on the left hand side in the 'source panel' i will find my ipod listed but when i open itunes i do not have a source panel so i cant reset it. i have spent days trying to get this problem sorted and am about to throw the thing away. I have tried to manually sinc the thing, i have installed and reinstalled the latest version of itunes, i have restarted my laptop but i dont know what to do next. any help would be very much appreciated. Many thanks in advance

    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • I have files that may have been created in various versions of Illustrator. We need to be able to open them, but all we have is CS6 suite. I have called and been told that "technicians at adobe" could perform a paid service to find out what the files were

    I have files that may have been created in various versions of Illustrator. We need to be able to open them, but all we have is CS6 suite. I have called and been told that "technicians at adobe" could perform a paid service to find out what the files were created in and get them to be useable in InDesign 6, but I'd need an email address that was registered to our software to give the help desk person. After finding the correct email address, different adobe help number people told me to come here to ask as there is no phone support. Can anyone get me to an adobe technician that can provide a price quote for finding out what created these files and for getting them converted? Thanks.

    Sorry, I understood you to say you had the whole CS6 suite, which includes Illustrator.
    As far as finding out what the files are, sometimes you can look at them in a text editor to figure this out. See below; the, Creator Tool line. Not every software package makes it this easy, though.

  • Hi everybody.. i have a problem nad i need help a.s.a.p ... i forgut my ipad passcode and tryed to remember it tell it locked and i cant get open .. it says connect to itunes .. i did that and its still not opening? what can i do? thanks

    hi everybody.. i have a problem nad i need help a.s.a.p ... i forgut my ipad passcode and tryed to remember it tell it locked and i cant get open .. it says connect to itunes .. i did that and its still not opening? what can i do? thanks

    http://support.apple.com/kb/HT1808
    Regards.

  • Pages is telling me that I need a newer version before I can open my document.  I have the latest version and I am able to open older versions.  Whats up?

    Pages is telling me that I need a newer version before I can open my document.  I have the latest version and I am able to open older versions.  Whats up?

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • I was sent a .pages doc.  When I try to open it with pages I'm told "You need a newer version of Pages to open this document." I have the newest version of pages on my computer. What should I do?

    I was sent a .pages doc.  When I try to open it with pages I'm told "You need a newer version of Pages to open this document." I have the newest version of pages on my computer. What should I do?

    I wonder if you are running an OS earlier than 10.9.x?  If so, you cannot run the *latest* version of Pages, which is 5.1.  Apple is trying to get you to update your OS to 10.9 Mavericks and then get you to update (but defintiely not upgrade) your Pages version to 5.1.  5.1 is, in everything but name, beta software. It not only has many bugs, it also lacks more than 90 features that are present in version 4.3 ("Pages 09"). One workaround that is to open the file with Pages for icloud (this is explcitly beta) and click tools|download a copy in Word format.  Pages 4.3, which is probably the version you have, can open Word documents.  Get a cup of coffee or a glass of wine before starting Pages for icloud: it is s-l-o-w.

  • I have been using firefox successfully for some time but now it will not open. I deleted firefox and re installed it but it still will not open. What happened??????

    I have been using firefox for over a year with no problems. All of a sudden it has quit opening. I thought it might be something in my computer so I uninstalled firefox and reinstalled it from your web site. It still will not open. What do I do now???????

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    See also:
    *http://kb.mozillazine.org/Browser_will_not_start_up

  • What does "you have data to Sync, go to TOC and press Sync" mean when I open the Bible  1 App.  I don't know what "TOC" is

    When I open my Bible +1 App the following appears - extremely too brief to read once - "you have data to Sync, go to TOC and press Sync.." on my iPad.  I don't know what TOC is, or where to go to Sync my data.  I also don't know WHAT data I have TO Sync.  Also, is there an Instruction "manual" so-to-speak that explains more about the latest update from November 27?  I'm working off an iPad 2 which is my ONLY piece of computer "anything" so all I'm woking on is my iPad.  I also do not have access to any person's lap top or  computer.  Can you help me?

    Went to Google, tonefox, and found the information.  As I told Meg, I am still "way over my head" with computers and still have to remember that you can 'Google" pretty much ANYTHING.

  • What software is needed to be able to open the olm file I have exported from Outlook to my documents when transfering my Microsoft Office Contacts to my Mac Addressbook?

    what software is needed to be able to open the olm file I have exported from Outlook to my documents when transfering my Microsoft Office Contacts to my Mac Addressbook?

    You might find a solution here: how to convert microsoft outlook contacts to apple address book - Google Search
    OT

  • I have a new mac book air and somehow iPhoto was installed twice.  Also, a second library was created and it became the default library.  I attempted to switch to the original library but it won't open.  what can I do to revert to the old library?

    I have a new mac book air and somehow iPhoto was installed twice.  Also, a second library was created and it became the default library.  I attempted to switch to the original library but it won't open.  what can I do to revert to the old library?

    Both iPhotos open to a default library (#2) which has 300+ photos,  I attempted to "switch to library" under the file tab in iPhoto and tried to choose "other library" which had most of my photos.  When I attempt to open it, it doesn't do anything.  I can see it and there are 2 libraries but it won't open.
    Have you tried to open your old iPhoto library by double-clicking it directly, instead of using the File menu?  That should work, if you are running iPhoto '11 and the library has been created by that version or an older version.  DO you get an error message, if you select the library directly in the Finder?
    I checked and it is the latest version of iPhoto.
    Is it iPhoto '11, version 6.0.5? "Latest version" is ambiguous, because it will depend on your system version.
    Where is your iPhoto Library stored?

Maybe you are looking for

  • Ipod Not Showing Up In The List In Itunes

    Hey, ive had problems with my ipod lately. basically when ever i plug my ipod into my computer, it appears in mycomputer and itunes also opens. i have run the diagnostic in the help menu in itunes and it is detecting my ipod HOWEVER it will not show

  • Exch.Rate Type for Determining the Proposed Rate

    Dears, I defined, in the document type to be used for Goods Receipt, the field T003-KURST (Exch.Rate Type for Determining the Proposed Rate) equal to u2018Pu2019: exchange rate type used also for standard translation for cost planning. Then, I create

  • TA38482 an unknown error occured (-42110)

    I get this every time itunes starts.  Help me please

  • Axes values on XY graph

    Hi, I want to have an option so that I can fix the maximum values on the axes of XY graph. This code is supposed to create trajectory for XY stepper motors. If you will run this code (please download the code in the next message, which is a subvi), y

  • Changing Bridge back to Browser

    How do I change the Browser under file to give me the Browser under Photoshop 7.0 instead of Bridge in PS CS3? I need the functions that the Browser of PS 7.0 provides. I'm using Window XP SP2 Roy