How to compile one of the examples of C/C++ Oracle? (Windows)

Is it simple? Can I create a Console API in Visual Studio, and plant the headers required for chain click on compile?

Or he needs a more specialized procedure?

(Was it heronic?) I tried indeed :D

You must include in your C/C++ project, OIC headers and libraries of the server installation folder

In my scenario
Oracle 11.2 g 32-bit
Windows XP 32-bit
Visual C++ 2005 Express Edition (v8)

Include the Oracle libraries
Project properties > Linker > General > additional library directories: D:\oracle\product\11.2.0\dbhome_1\OCI\lib\MSVC
Project properties > Linker > input > additional dependencies: oci.lib

If you have 64-bit, you may need to change the target of the project 64-bit if its 32 bit and vice versa
http://msdn.Microsoft.com/en-us/library/9yb4317s%28V=vs.80%29.aspx

More info
Oracle sample code is the caching of the result of the customer
I do not have examples of companion so I downloaded here with header th
http://read.pudn.com/downloads99/sourcecode/Windows/database/402662/OCI-demo/cdemostc.C__.htm
http://read.pudn.com/downloads99/sourcecode/Windows/database/402662/OCI-demo/cdemostc.H__.htm
In the case of Client caching, they could be old and must change before you enable it

I did not if I have everything I need and will be able to execute instructions and do not yet have all the features.
But the fundamental reason for Thread is convinced. Leave it open today if someone wants to add.

Tags: Database

Similar Questions

  • How to remove one of the elements of operating system of Windows Start menu?

    Original title: choose an operating system to start, or press Tab to select a tool. _ (use the arrow keys to highlight your choice, then press enter) windows Vista__Microsoft windows Vista __Microsoft

    How to remove 1 of the operating system for each time I start the computer, I dun hv to click on the 1st system?

    Thanks for the help

    Hi the user Noob,

    We recommend that you remove the entry that allows Windows to start successfully. Microsoft Windows Vista (C:\Windows) is the default. You can remove the second entry and check the result (delete if it does not work).

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to compile and install the kernel modules after nation and nipalk for installation of Gentoo 64 bit?

    We are trying to install a PCIe 6251 DAQ card in a box of Gentoo 64 bit running Linux kernel 2.6.28 - gentoo-r5 4.3.2 - gcc and glibc - 2.8.  We have installed RPM utilities to manage the installation.  The current problem is that we are not able to compile and install the kernel modules: nidmxfk, nimsdrk, nimstsk and nipxirmk.  Here's a summary of what we have done so far, and to what extent we got.

    First of all, we have changed the configuration of the kernel that we could export the init_mm unused symbol by changing the configuration option of the CONFIG_UNUSED_SYMBOLS = o kernel and recompile the kernel.  Then we installed LabView 8.6.1.  Then we ran the nation 1.9 installer who has installed the source code in vain on the compilation.  To resolve this problem, we have changed the function of pte_offset to pte_offset_kernel by editing the file/usr/local/natinst/nation/configures following the instructions here:

    http://decibel.NI.com/content/docs/doc-4511

    We were then able to compile and install the kernel nation module thanks to:

    . / configure
    do
    make install

    lsmod said that nation has been properly installed.  Then we ran the installer for DAQmx 8.0.1 by:

    . / INSTALL - nodeps

    To do this, we have received errors indicating that LabView support could not be installed because check addictive (incorrectly we think) stated that labviewbase86 has not been installed; This caused the installer to have an abortion.  Therefore, we refused to install support for LabView 8.6 and revived the installation program which produces the output:

    Installation of the driver NOR-DAQmx Distribution of Linux Installer version 8.0.1f0...

    Already to jump Edward - 1.9.0 - f0.noarch.rpm installation, same or newer
    installed.

    Pre Installation...

    Preparing... ########################################### [100%]
    1:nitimingi ########################################### [ 4%]
    2:nipalki ########################################### [ 7%]
    3:nipali ########################################### [ 11%]
    RC0.d directory not found, startup script is not accredited with init levels.
    4:labview80 - rte # [14%]
    5:ni653x ########################################### [ 18%]
    6:nicdigi ########################################### [ 21%]
    7:nidaqmxcapiexmp # [25%]
    8:nidaqmxcapihelp # [29%]
    9:nidaqmxcapii # [32%]
    LN: create the symbolic link ' / usr/local/include/NIDAQmx.h': no such file or directory
    10:nidaqmxcfgi # [36%]
    11:nidaqmxef # [39%]
    12:nidaqmxhelp # [43%]
    13:nidaqmxinfi # [46%]
    14:nidaqmxswitch # [50%]
    15:nidimi ########################################### [ 54%]
    16:nidsai ########################################### [ 57%]
    17:nimdbgi ########################################### [ 61%]
    18:nimioi ########################################### [ 64%]
    19:nimru2i ########################################### [ 68%]
    20:nimxdfi ########################################### [ 71%]
    21:nimxpi ########################################### [ 75%]
    22:nimxs ########################################### [ 79%]
    RC0.d directory not found, startup script is not accredited with init levels.
    23:niorbi ########################################### [ 82%]
    24:nipxirmi ########################################### [ 86%]
    25:nirpci ########################################### [ 89%]
    26:niscarabmm # [93%]
    27:niscxi ########################################### [ 96%]
    28:nistci ########################################### [100%]

    After Installation...

    At this point, after reading this report, we used the Gentoo rc update utility to add several scripts for the boot runlevel initialisation:

    update of RC - a boot nipple
    update of RC - a bunch of nipxirmu
    update of RC - a bunch of mxssvr
    update of RC - a bunch of nisvcloc
    update of RC - a bunch of nidevldu

    When the computer reboots, you get an error message indicating that the following kernel modules are not: nidmxfk, nimsdrk, nimstsk and nipxirmk.  lsmod shows that the nation and nipalk are installed, but no other kernel modules NOR are present.  modprobe-l shows that only nation and nipalk are available.

    So we have several questions:

    1. we install drivers in the correct order?  Should use us NI-VISA 4.5 or NOR-488. 2 rather than DAQmx 8.0.1?

    2. What kernel modules should be loaded for this equipment run?  How to compile and install the ones that we have yet, specifically nidmxfk, nimsdrk, nimstsk and nipxirmk?  Are there others?

    3. How can we get the installer to properly recognize that we have installed LabView Core and install support for LabView?  Are there additional kernel modules related to the support of LabView?

    4. What is the symbolic link that was not created in the DAQmx installation report? (ln: create the symbolic link ' / usr/local/include/NIDAQmx.h': no such file or directory)?

    I apologize for so many questions, but these seem to be the last obstacles to obtaining OR runs correctly on this system.  Is there other information that we can provide that would be useful?  Thanks for any help or suggestions you can offer.

    Craig

    Hey Craig,.

    Given that you use 64-bit Linux all kernel modules must be compiled for 64 - bit.  User mode binaries can be 32-bit, assuming that you have installed the 32-bit support libraries.

    NOR-DAQmx is a complex architecture and requires several kernel modules to support your PCIe card.  Most of these kernel modules have not been brought to support 64-bit Linux.  Some kernel modules are components infrustructure that are shared with other pilots OR as NI-VISA and NOR-488. 2 and have been brought to support 64-bit Linux.  Unfortunately, you need all the modules to use your hardware.

    I hope that answers your question.

    Shawn Bohrer

    National Instruments

  • How to select one of the VMRC and WebMKS of vRealize of automation for the end user

    As you know, there are two Protocol to use the remote console to the configured virtual machine of vRealize Automation. I know how to select one of the VMRC and WebMKS on vCenter via Web Client, but I'm not sure whether vRealize Automation can select one of the VMRC and WebMKS. Is there anyone who knows about it?

    You can set in the law.

    Grant

  • Urgent! How to open one of the last update of the project in an earlier version first?

    How to open one of the last update of the project in an earlier version first?


    I can't open a project that was saved in the latest version of first. My version is earlier than that of the project that have been saved

    Hello

    So far, backward compatibility is not available in Premiere Pro.

    Export your project as a FCPXML of the new version of first and try to import in the previous version.

    Kind regards

    Ilyes Singh

  • help on how to compile and run the awt programs

    any1 can tell how to compile and run the awt programs

    Published by: 863765 on July 18, 2011 03:29

    The same way you compile and run any other Java program.

  • Why am I suddenly "USB not recognized, one of the devices USB has malfunctioned and Windows does not recognize"

    Hi all. If anyone out there in Cyber Land can solve this problem for me so I've personally you will issue an eight-pack of ice-cold beer (or a bottle of wine for the ladies lol)...

    I'll try not to waffle too guys, so here's...

    Right my PC running Windows XP. I also have itunes installed on my PC (I have an iphone 4). Upward until yesterday my iphone and itunes were working well, (once I plugged my iphone in the itunes USB port recognised that my iphone was plugged and synchronization was fine etc.).

    But now when I plug my iphone to PC to sync with itunes, I get a pop up box on the lower right part of the screen that reads... "USB not recognized one of the USB devices has malfunctioned, and Windows does not recognize."

    After visiting about 5 different sites now "Ways to solve this problem", believe it or not, I still have the problem bloody! :(

    A site proposed shutdown PC and unplug it from the power supply, then plug it back start-up and back... this as did not work!
    The other they say that I should go to Device Manager, uninstall all the USBs then restart... it did not work either.
    Tried a system restore
    Tried to reinstall itunes

    When I check the names USB in Device Manager, there is one who reads unknown device. I am literally pulling what's left of my hair now. I tried to solve this problem for almost 2 days now and still no joy. That's why no matter what input you guys would be very appreciated. I'm no PC Wizard, so please, don't think you're patronizing me if you break down things step by step for me.

    Thank you comrades, cordially, Freddy frustrated. :)

    Another said I should go to Device Manager, uninstall all the USBs and restart.

    Usually, this works... but can be very dangerous, unless you have a PS/2 keyboard.

    I also assume that you have tried all other USB ports on the computer. tried a verified USB device (for example, a flash drive) in the USB usually when you plug in your iPhone. and I tried your iPhone in another computer (I know it's rare for an error message Windows really means what he says, but sometimes the material lacks).

    Is the charge of the iPhone when it is connected to the USB port (I don't think)?  This happened to me recently, but a reboot fixed it.  I guess that that happened to you.

    I guess that you don't see the error messages in Device Manager or you must declare them.

    You can uninstall all USB devices that do not exist as follows:

    • Open a command prompt window (start > run > cmd > OK)
    • Enter the following command and press enter

    Set devmgr_show_nonpresent_devices = 1

    • Start the Device Manager by typing the following in the same command prompt window

    devmgmt.msc

    • In Device Manager, click the view menu and select "Show hidden devices".
    • You should see a category just after "Non-Plug and Play drivers" named "other devices."  Chances are that there will be a big exclamation yellow mark beside it.  When you expand the "other devices" you should see several non identified "USB devices."  Uninstall all this.
    • Reboot (with the iPhone NOT connected).
  • How can I print just the file names listed in a window of Windows 7?

    How can I print just the file names listed in a window of Windows 7?

    I found the info in this post...
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/for-Windows-7-can-i-print-a-listing-of-what-is-in/b233cbeb-647d-4E32-ae1f-8523d62b2dc9

    Here, a link takes me to an article at this link...
    http://support.Microsoft.com/kb/321379

    This article explains then that I need to download and run blindly 'Fix - It' application to obtain the simple ability to print a directory window... but it does not say what I'd do once downloaded the general application of "Fix - It" to get this option which should be part of the Windows 7 basic features first.

    Or, the article told me that I can "modify the registry" (?) in order to get the print option window... but I know that by having a character moved when editing the registry, it can bring down the entire computer and make it completely unusable.

    Those are really the only options to print all simply a window?... in addition to several screenshots and melted together in Photoshop and then print this image?

    Why not just give Windows 7 a 'PRINT' button under 'FILE' as other operating systems have always done... has always done Windows default this feature?

    This seems just crazy... This misunderstanding?

    Thank you

    NuMetro

    I tried to copy and paste the name of the window... This time I tried while holding down the SHIFT key and it sticks anything in Notepad.

    This is not what I've proposed.

    • Select the files whose names you want to print. CTRL + A selects all.
    • Hold the SHIFT key, then right click on a file and select copy in the path from the context menu. This will put a list of filenames (path) to the Windows Clipboard.
    • Click inside a document, and the stick.

    Have another go.

    Noel

  • How can I view on the opening screen on Adobe Acrobat (Windows) version 9, the bar of tasks that has 'File', 'Edit', etc. - He disappeared

    How can I view on the opening screen on Adobe Acrobat (Windows) version 9, the bar of tasks that has 'File', 'Edit', etc. - He disappeared. Slobberdog

    Hi slobberdog,

    Please check this post about the same issue in Acrobat 8. The solution applies equally to Acrobat 9: How to restore the menu bar (file-Edit-View) PDF?

    Best,

    Sara

  • How to upgrade one of the two lines in double

    I use 11.2.0.3.0

    Is it possible using a CASE statement to find the rows that are double and one of the two lines was updated so that they are all unique?

    What I get is something like this

    Col1 Col2 COL3 COL4 Col5

    1

    1111
    11111
    22222
    22222
    33333
    33333
    44444
    44444
    55555
    55555

    I would change one of the columns in the two lines that makes the unique lines like this

    Col1 Col2 COL3 COL4 Col5
    11111
    12111
    23222
    24222
    35333
    36333
    47444
    48444
    59555
    50555

    Hello

    I don't see how a CASE expression would contribute to this problem.

    In your original message, you said you wanted to update the table, in other words, to permanently change some of the values stored in the table.

    In response, #2, looks like you want to change what is in the table, you just want to replace by new values for col2 in this query, without permanently changing table.  You can do this by using the ROW_NUMBER right in the query, when you thought using a CASE expression.

  • How to remove and reset the Contacts folder / files in Vista Windows Mail

    How can I delete the Contacts in Vista - and actually reset the folder so that windows treats the files ".contact" as - good contact and no text.

    Because what was going on, I decided to try to start from scratch - I just copied all the files in the folder of contacts to a archive and deleted all the files in the contacts folder.

    From Windows Mail - I am capable of was able to use the tool 'Add to contacts' and the Contact form (properties) dialog happens - but if I open the Contacts folder directly (Windows or Windows Mail 'button'), I get a window of the typical Explorer with a newlt created contact list (for example there are 6 in there now all created from Windows Mail) - if I try to open an existing contact - it opens in the Notepad - text - garbage.  (Same problem I had)

    I've been setting up with a Contacts folder corrupted since I bought my desktop with Vista in 2008 - I think I looked into the question of import then and there is no function of CSV to import the contacts (that I could find) - and / or the inport corrupted the file - so when I open a file of contacts I get the text of the file - it opens in Notepad - and not a Contact form.

    With more than 600 contacts in there, I didn't have to manually retype all data, but it's time to bite the bullet.

    Hello PaulJMoore,

    ·         Do you have just copied the contacts in archive and did not export them?

    ·         What is the extension of the contact files you copied?

    You should try to reset the contacts folder.

    1. in Windows Explorer, navigate to the folder C:\Users\(user name) \Contacts.

    2. right click on an empty space in the main pane of the middle of the window and click Customize this folder.

    3. under the type of folder do you want, click the arrow next to the model list drop-down list.

    4. click on Contacts to select.

    NOTE: Check apply also this template to all subfolders if you want to change all subfolders in the Contacts folder to the Contacts model as well.

    5. click on OK.

    The contacts created with Windows Vista are in the format of .vlc. When you try to open them to the archived location where you saved, he would not be able to access Windows Mail to open the contacts.

    First of all try to copy all the contacts in the Contacts folder on the \Contacts C:\Users\(user name folder location).

    If this does not work, try to import all the contacts that you have saved to the location that is archived using the import option from the Windows Messaging.

    You can read this article which will give you information on how to import contacts:

    http://Windows.Microsoft.com/en-us/Windows-Vista/import-export-or-change-the-format-for-contacts

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • How can I move all the folders in Outlook Express to Windows Live Mail?

    Bought a new computer with Windows Home, how can I move the folders of Outlook Express in Windows XP SP3 in Windows Live Mail? Thanks for your help.

    Transfer of data from Outlook Express and Windows Live Mail:

    For Messages:

    Copy the * ENTIRE * OE message store folder to a flash drive. (Folders.dbx must be included). Place it on the desktop or another location on the computer using WLMail. Open WLMail and: file | Import | Messages | Microsoft Outlook Express 6, and the point where it was saved.

    Location of OE message store:

    In OE: Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    For addresses:

    Open the address book in OE and file | Export | Address book (wab) and save it to the desktop. Copy it to a flash drive. Place it on the desktop or another location on the computer using WLMail.

    Open the Contacts list in WLMail, (go |) Contacts in the Menu bar) and the file | Import | Address book (wab) Windows and the point where you saved it.

    Note: If you use a CD or a DVD instead of a flash drive, after placing on the new machine you must remove the read-only attribute in the properties before you import.

    For the account settings:

    In OE: Tools | Accounts, select the account and export it to the desktop. This will be an .iaf file. Copy it to the new computer and WLMail desktop: tools | Accounts and import the settings from the location you saved the.
    For additional help with WLMail, please ask in this forum.

    Windows Live Mail Forum
    http://windowslivehelp.com/forums.aspx?ProductID=15

  • How do to know all the tables on peoplesoft (on Oracle 8.1) with data

    I need to know all the tables on peoplesoft (on Oracle 8.1) < strong > with < facilities > data
    and ignore the tables without data.

    It takes to write a pl/sql procedure or is there an easy solution?
    I wrote an example of code, but I am disconnected programming
    for the long and I need help.
    Thanks in advance
    Pls answer
    _______________
    Cursosr curtab is select table_name from dba_tables;
    curtab() loop
    Select count (*) x from curtab;
    If x & gt; 0
    UTL_FILE. Write ('curtab')
    on the other
    null;
    endif;
    end loop;
    ____________________

    Julia wrote:
    I need to know all the tables on peoplesoft (on Oracle 8.1) with data
    > & ignore tables without data.
    >
    > It takes to write a pl/sql procedure or is there an easy solution?
    > I wrote a code example, but I am disconnected programming
    > for a long time and I need help.
    > Thanks in advance
    > Pls answer
    > _______________
    > Cursosr curtab is select table_name from dba_tables;
    > curtab() loop
    > select count (*) x from curtab;
    > If x > 0
    > utl_file.write ('curtab')
    > other
    > null;
    > endif;
    > end of loop;
    > ____________________

    Consider using the user_tables and it works the relevant schema rather than dba_tables breast or of all_tables as these allows you to specify the schema name too will require.

    set serveroutput on;
    
    DECLARE
      cursor curtab is
        select table_name
        from   user_tables;
      --from   all_tables where owner = '';
      v_cnt NUMBER;
    BEGIN
      FOR t IN curtab
      LOOP
        EXECUTE IMMEDIATE 'select count(*) from '||t.table_name INTO v_cnt;
        IF v_cnt > 0 THEN
          DBMS_OUTPUT.PUT_LINE(t.table_name);
        END IF;
      END LOOP;
    END;
    /
    

    Or...

    Ensure that statistics were collected for the schema and examine the value of num_rows in the user_tables view. ;)

  • How to choose one of the contact nummber?

    now, if the contact don't have only one phone MOBLE, I can get and set, but if it has more than one phone, I can't choose which one I want, the code is that

    so, how can I do?

    public void showAddressBook() {}
    try {}
    Contact list BlackBerryContactList = (BlackBerryContactList) BlackBerryPIM.getInstance () .openPIMList (BlackBerryPIM.CONTACT_LIST, BlackBerryPIM.READ_WRITE);
    Contact BlackBerryContact = (BlackBerryContact) contactList.choose ();
    If (contact! = null) {}
    Portable chain = "";
    int numValues = 0;
    numValues = contact.countValues (BlackBerryContact.TEL);
       
    for (int i = 0; i)< numvalues;="" i++)="">
    If (contact.getAttributes (BlackBerryContact.TEL, i) == BlackBerryContact.ATTR_MOBILE) {}
    Cell = contact.getString(BlackBerryContact.TEL, i);
    break;
    }
    }
    textObj.setText (mobileNumber);
    }
    } catch (PIMException ex) {}
    ex.printStackTrace ();
    }
    }

    first of all, do not forget to check for null.
    Take a look at the dialog class, it provides a few pre-made popups, some of them take an array of objects as an argument. store contacts in the table and put their index in an array of int to choose the right pair that you get an int as a result of the dialog box.

  • Ss12, time remapping: how to remove one of the multiple time zones?

    Ss12 has the time remapping effect, which is excellent.

    I remapped a clip, featuring several "zones" in slomo.  After clicking on the + sign to create the last zone, I realized that this was too many, and not really quite the same concept as the other.  I had not yet dragged the border to create any length.  But there seems to be no way to remove it, delete or cancel the action of having created it.  "Reset" to delete all time zones.

    I could leave it as is, with a normal attribute of the time full speed.  But it is sloppy and let this kind of artifact behind in any type of program or project can turn against you.  If this is not an option.

    I could delete them all and start over.  But it would be a lot of work and would not be closer to the fundamental issue, which is to know how to delete or cancel one time zone.

    Any suggestion will be highly appreciated.

    Kawika808

    The first thought that comes to mind was to put on 'Normal' for the time zone of interest here.

    But there is an easier way... at the top right corner of a block of time zone is of x. Click to close and to get rid of this particular time zone.

    Please let us know if none of this works for you.

    Thank you.

    RTA

Maybe you are looking for

  • S5-1414 more ZR2740w 27 "monitor? Sticker of Windows 8?

    Hi, I just bought a S5-1414 opportunity (product # H3Y75AAR) 3.4 GHz computer (Core i3 2130) i3 of office. While it is "used", in my opinion, he should have been returned to a store immediately after purchase because his impeccable.  Was missing, so

  • How can I put everything back to normal size, office pic & icons are too big

    I was in my card program yesterday, when twice, shutting down the computer & I had to re - start. When I come back, everything went too big. The wallpaper is bigger & icons, Windows Live Messenger, Yahoo & even 3 broadband shows much larger than norm

  • My Win 7 Professional came without games.

    How can I get the games that have been spposed to come with my Win 7 Professional?

  • HP photosmart c4599 all-in-one

    I have recently for the 1st time filled my Costco HP ink cartridges and I got the exact same back and put them in my printer. My printer is saying "cartridge incompatible (S). How is this possible and how can I solve this problem?

  • Photo gallery tags backup?

    Is it possible to backup photo gallery tags?  I have thousands of tags and I don't want to lose the chance