Linking oraocci11.dll - OCCI works only with Microsoft VC++???

I wonder if OCCI will work with other IDEs too?
I tried to use it with MingW Toolchain (g++). But I could link the dll to my application yet. When compiling I get always:
g++ -IC:\oracle\11.1.0\oci\include -IC:\oracle\11.1.0\oci\lib -O0 -g3 -c -fmessage-length=0 -oOcciTest.o ..\OcciTest.cpp
g++ -LC:\oracle\11.1.0\BIN -LC:\oracle\11.1.0\oci\lib\msvc -oOracleTest.exe OcciTest.o -loraocci11
OcciTest.o: In function `main':
N:/workspace/c/OracleTest/Debug/../OcciTest.cpp:27: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
collect2: ld returned 1 exit status
Build error occurred, build is stopped
How to link the dll (oraocci11.dll?) correctly?
Client: 11.0.6
DB: 9i
OS: WinXP
IDE: Eclispe CDT
Comp: G++
Edited by: [email protected] on Mar 12, 2009 9:33 AM

Hi,
You need the correct version (lib and dll) for your specific compiler.
Look here:
Link:[Using OCCI with Microsoft Visual C++(11gR1)|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28390/install.htm#CBHGBBJI]
Or here, to download other versions for VC++9(2008)
Link:[Oracle C++ Call Interface - Downloads|http://www.oracle.com/technology/tech/oci/occi/occidownloads.html]
hth
P

Similar Messages

  • I can not remember my icloud password.  I would like to recover it but the difficulty is my apple id and Icloud have differnt passwords and the links for recovery all work only to chnage my apple id password.

    I can not remember my icloud password.  I would like to recover it but the difficulty is my apple id and icloud have different passwords and the links for recovery all work only to change my apple id password.  SO how do I recover the icloud password?

    An Apple ID is used for everything (including this site) and including iCloud. See the quote below from https://appleid.apple.com/
    There is no such thing as an iCloud password but it is possible that you have 2 Apple IDs and you are using one of them for iCloud.
    An Apple ID is your user name for everything you do with Apple: Shop the iTunes Store, enable iCloud on all your devices, buy from the Apple Online Store, make a reservation at an Apple Retail Store, access the Apple Support website, and more.

  • Does Essbase Excel Plugin 11 work fine with Microsoft Office 2013

    Hi,
    My Company is planning to Upgrade to Microsoft Office 2013. Does Essbase Excel Plugin 11 work fine with Microsoft Office 2013?
    Thanks,
    Shashi

    Hi Shashi,
    Below content is taken from oracle certification matrix.Microsoft office 2010,2008 supports the lastest version of 11.1.2.3.More info check with the oracle certification matrix.
    Version Supported
    Vendor
    Certification Type
    Version
    Exceptions and Additional Information
    11.1.2.3
    Microsoft
    Office Productivity Suite
    Office 2007 (all SP levels included)
    Office 2010 (all SP levels included)
    1. MICROSOFT OFFICE IS REQUIRED FOR: Smart View and Offline Planning when used with Reporting and Analysis, Financial Management, and Planning. Microsoft Office is also required for Disclosure Management, FDM, Financial Reporting Client, Performance Management Architect File Generator, and Strategic Finance.
    2. Offline Planning and Excel must be installed on the same machine.
    3. Microsoft Office 2010 (32-bit Office on 32 or 64-bit operating systems, 64-bit Office on 64-bit operating systems)
    4. EXCEPTION:  Disclosure Management has installation prerequisites. For Office 2007. See http://support.microsoft.com/kb/970942.
    5. EXCEPTION: FDM server only supports the 32 bit version of Office.

  • There is no sound in my ipad 3 , It works only with my headphone

    There is no sound on my ipad 3 , It works only with my headphone. I will try everything reboot several times .

    Are you turning up the volume after you take the headphones out? The iPad will remember two different volume settings, one with headphones and one without.

  • My iphone 5c the sound doesn't work only with earphone.

    my iphone 5c the sound doesn't work it works only with earphone.

    Hi there lavodette,
    You may find the troubleshooting steps in the article below helpful.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    -Griff W. 

  • Is there anything like smartbookmarks on mozilla newest version, because the smartbookmars tool works only with mozilla 3,6?

    ''Duplicate post, continue here - [https://support.mozilla.com/en-US/questions/806366]''
    Is there anything like smartbookmarks on mozilla newest version, because the smartbookmars tool works only with mozilla 3,6?

    The Smartbookmarks page refers to this add-on in its place:
    https://addons.mozilla.org/en-US/firefox/addon/roomy-bookmarks-toolbar/
    I have no idea if it's basically the same or anything about its reliability.

  • Hi! is it possible that Logic X has upgrades that work only with mavericks and does t work in mountain lion....since in my macbook pro with mavericks i have new views of the equalizer, etc and in my mac pro with mountain lion it still the old view...

    Hi! is it possible that Logic X has upgrades that work only with mavericks and does t work in mountain lion....since in my macbook pro with mavericks i have new views of the equalizer, etc and in my mac pro with mountain lion it still the old view...

    Any OS version of 10.8.4 or later has all features that are not OS depended. The plugins are one example. You probably haven't updated all versions of Logic Pro X to the latest one.

  • TCP works only with IP right?

    TCP works only with IP right? Then if I want to communicate with a devise that does not have an IP (my television) I cannot use TCP right?
    Regards,
    Sim085

    Why would I post without being 100% correct:
    Just trying to point out at a high level that if you use something else to move the TCP then you'll eventually have to implement the functionality that IP gives you.
    To those that insist that you HAVE to use IP to move TCP, the answer to that is NO! That's like saying that IP has to use Ethernet. You don't. All IP provides is addressing and routing.
    An example of an IP alternative is TULIP: http://www.techiwarehouse.com/cms/engine.php?page_id=2b7e10ac
    A network diagram that uses TCP and NO IP:
    http://citeseer.ist.psu.edu/cache/papers/cs/4058/ftp:zSzzSzpaul.rutgers.eduzSzpubzSzbadrizSzitcp-tr314.pdf/bakre95itcp.pdf#page=5
    (ejb, please refer to your own post about misinformation.)
    The port is in the TCP layer. Sorry, wasn't thinking there. Actually what I was thinking about is how more expensive NICs can decide if it should look past the IP header of a packet. By being able to ignore IP addresses it is not assigned it can save CPU time. Checking to see if it should listen to a port would be cool too, but that would take too much. A machine will only have a few IP addresses (at least one in the class A,B,C range, maybe a multicast address, at least one broadcast address) which wouldn't take much to store in the NIC. Listening to 1000s of ports is not unheard of.
    For the author:
    I'd design your chat program with two basic interfaces in mind. There will be guaranteed delivery and best effort. TCP gives you a grantee that either the packet gets to the receiving station or the sender gets an error. That's great until you want to talk Bluetooth.
    Bluetooth, IR, and Serial comms are all basically the same in the WinTel world. You talk to them over a COMM port. Here you have no guarantee of delivery. Thus in the old days of downloading you had to use a protocol like ZModem to transmit files and make sure you got them all.
    You'll need to implement you own guarantee of delivery for these. Basically look into what TCP provides and implement something similar with Java. Checksum, sequence number, and acks.
    When you implement your chat, part of your own "network stack" would decide if it needed to transmit service guarantee information with the data at the application level or not. There is no point in incurring the overhead if TCP is being used.
    UDP may work, but I don't trust it past a LAN. Some UDP packets will always be dropped by a router. One example is broadcast packets. I doubt any admins will let a broadcast come into their router. Also, because viruses propagate by broadcasting, a lot of admins may limit them to the subnet of the host. UPD is real good for streaming audio. Something when if you lose a packet you don�t want to recover it. If you�re listening to a game on the radio and there is a lightning strike. Would you rather hear the pop and still be in sync with the broadcast or do you want to fall a second or two behind �live� coverage? I think that UPD packets are more readily dropped by a congested router. That's working on the theory that "If the application doesn't care about the packet really getting there (it would have used TCP) then why should I when I'm too busy."

  • PCG works only with Oracle EBS?

    Hi, Does PCG work only with Oracle EBS? Does it not work with other products like Peoplesoft, SAP, Siebel?Thanks, Varsha

    That's correct. PCG is only for Oracle EBS.

  • Pavillion dv6-3216us win7 clone hard drive worked only with HDClone 4.1

    Pavillion dv6-3216us win7 64bit clone hard drive worked only with HDClone 4.1 tried many others that seemed to work but not boot.
    cloned to WD 750 GB took about 2.5 hours

    The originals were over 3 yrs old low end consumer models and 'due' for retirement to less frequent backup duties.
    The Black or Blue Caviar 640GB costs slightly more but also 10-15% faster.
    I wouldn't worry about temps, but I would monitor them, and if necessary boost the fans 200-300 rpm to help out.
    Make sure everything is SL versions now (DW 4.2).
    Normally I zero a drive and reformat more than others, and definitely with new OS.

  • M200: Processor works only with 600MHz - Why?

    I have observed that when you change pcb set for a laptop irrespective of the processors speed it runs at slowest that is 595/598 MHz.
    Have you observed this? What is the reason behind?
    What is the solution?
    If the processor is having 256MB/512MB RAM this things wont affect a large but for 1GB & 2GB the machine performance become very problematic.
    I have tried updating DMI this didnot helped.
    Re-installing os also didnot helped.
    BIO upgrading also didnot helped.
    I'm also not very sure about this problem having any relation to pcbset change.
    With the good machine I have found the way is dynamically switching capabilities of a processor from bios.
    In few machines that are giving problems i didnot observed this option in BIOS.
    The machines are PortA200 & Port M200(tablet).
    can any one help me. I need to justify this to customer.
    Thanks & Regards
    ChaitanyaN

    Hi
    This issue occurs after motherboard changing. Usually after mainboard changing it is very important to make any tests and diagnostic procedures. Without this procedure the CPU will work only with fixed 600 MHZ.
    You should contact the Toshiba service to solve this CPU issue.
    PS: This theme was discussed here in the forum. Please check this:
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=8492&messageID=29400#29400
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=4351&messageID=14808#14808

  • Call a C# dll from java is work only with the machine which is build C# dll

    hi all,
    I've built a VC++(win32 console dll app)..
    Created a Java program to access the said VC++ dll
    It was successful in the machine(say machine 1) which is created the VC++ dll..But Not work with machine2
    n.b VC++ dll is accessing another VC#dll
    If I combile the VC++ dll in machine2 then then its works fine with machine2 while access from java But not work with machine1
    Problem comes when I run the same application in a different system where all the
    needed visual studio files are installed...
    I tried by create the VC++ dll with skipping the part of accessing VC# dll, then it works fine with anotther machine
    NB: error accurs only when it is run on a different machine...
    Error is:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (0xe06d7363), pid=4024, tid=4028
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_09-b01 mixed mode, sharing)
    # Problematic frame:
    # C [kernel32.dll+0x1eb33]
    # An error report file with more information is saved as hs_err_pid4024.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    i've done "googling" with this error... but no one has come up with some satisfactory answer...
    Pls help.....
    conf. of both machine
    Windows XP
    jdk1.5.0_09, jre1.5.0_09
    thanks in advance..

    Normally any system exception that occurs when working with JNI is caused by one of the following.
    - pointer problems
    - incorrect usage of another api
    - bug in the api being used.
    The last two are often still pointer problems.
    The fact that it ones one machine and not another makes it more likely it is a pointer problem (in one or more of the above.)
    A pointer problem cause cause the system to fail long after the point where the bug actually is (coded.) Different execution paths, such as running on different machines, means the bug will manifest itself differently.

  • DLL Call works fine with 1 cluster input but bombs with 2

    I have some problems getting my DLL to work using 2 cluster inputs.
     I create a simple DLL (MS C++ Express 2010) with 1 cluster and 1 struct Input and everything works.
     If I add a second cluster/struct, Labview bombs and disappears, Even if it's the same structure definition and initialization inputs.
     I'm making sure I have the struct Boundries set to 1 byte.  
     Any ideas?
    Solved!
    Go to Solution.

     Not using the #pragma pack, just setting the option for structure boundry properties in VC.
     It's been on maximum debugging but it's still crashing.
     Attached vi is nothing fancy, just trying to get 2 inputs to work.
     Hopefully something simple I'm not doing correctly. Thanks.
    Attachments:
    dll_definition_new.cpp ‏1 KB
    Nozzle_IO_30b.vi ‏8 KB

  • Help! Keyboard randomly stops working only with finder?

    My macbook pro keyboard and my silver Apple bluetooth keyboard (primary keyboard) randomly stop working in Finder can anyone explain? Heres the details:
    I usually use my wireless keyboard, and when this happens the keyboard keeps working with everything else, and only stops working in Finder i.e. I can't edit the names of files or even click through files with the arrow keys. (the Macbook Pro keyboard also stops working-only in Finder-during these times too as I just tested..)
    Also, Finder keeps working its not frozen or anything, I can click around in it with the mouse and open files/apps, etc.
    This has only happened approximately 3 or 4 times (I've had the keyboard since the new ones were released and the computer for 1.5 yrs)
    Lastly, when I restart the OS (10.4.11) the problem disappears for a week or more..
    help!
    Message was edited by: coolskierguy

    jazzi wrote:
    Michael, I recommend you http://wiki.Archbang.org which is derived from Archlinux.
    2 years past, everything is nice to me, it can help you get rid of the installation pain.
    Don't do that. Archbang isn't Arch and it doesn't "get rid of installation pain," it just turns it into long term confusion and dependence...

  • IPad WiFi works only with WPA/TKIP, not WPA2/AES

    My iPad (like so many others) stopped connecting to my Linksys WRT54G router (which like everyone else's connects fine with every other device, including non-iOS 4 iPhones). The whole reset/restart/restore dance with the iPad/router/cable modem was performed to no avail. By sheer desperation, security protocols were changed, and that's what finally worked.
    The protocol to the rescue was WPA/TKIP, curiously enough. (When security is completely disabled ("Open"), the iPad also connects, perhaps expectedly.) The culprit is WPA2/AES (even AES+TKIP). Any iteration of WPA2/AES ends up blocking the iPad from getting the appropriate IP address via DHCP. Once I changed to WPA/TKIP, everything's been rock-solid and fast.
    (The only times WPA2/AES worked was when the iPad was first used for a couple days, and a couple days after switching back to WPA2/AES when it started working with WPA/TKIP. Since then, switching back to WPA2/AES no longer works, even temporarily.)
    Any idea why initially WPA2/AES worked, and then suddenly stopped?

    Ralph Landry1 wrote:
    That is a very interesting question ... [involving] the combination of the router and the iPad and their respective implementations of the AES encryption algorithm. The AES algorithm is considerably more complex than TKIP. Why some have problems and not others has to be related to the router and its implementation and the Apple implementation.... t works fine for me connecting with [both] a Verizon FiOS (Actiontec) router [a]nd ... an AirPort Extreme. But there have been a number of posts recently about problems with Linksys and Belkin connectivity.
    Tell me about it. I'd been pulling my hair out prior to "discovering (by accident," as George Costanza would say) that WPA/TKIP fixed the problem, and seems to be working fine and fast. Now I'm just academically frustrated (better than actually frustrated) wondering why WPA2/AES is so problematic +with this particular trifecta+ (my iPad, my Linksys router, and WPA2/AES).
    Bottom line is there is probably not an easy solution ... and since you do have a strong security protocol that works, keep using it. Very strange that there would be a change in connectivity after a few months, though. Old engineering philosophy, if it ain't broke, don't fix it. If you have something that works, stick with it for now.
    Actually, WPA2/AES worked on two (short but notable) occasions:
    a) for two days when I first unpacked the iPad, and
    b) for two days when I switched back to WPA2/AES upon discovering WPA/TKIP fixed the issue.
    So it wasn't two months, which makes more sense. I agree with you that I'm not touching this arrangement for now. What I did have to do was change over the other devices (PCs, Wii's, TiVo's) that didn't automatically adjust over to WPA/TKIP. (To its credit, the iPhone did that on the fly.) Going through each device hurt a little, knowing I was using a less-than-optimal protocol for just one cranky device at expense of every other one--but of course I'd rather everything play nice than be necessarily cutting edge. (It's not like I'm the Pentagon or anything here.)
    But also give feedback to Apple:
    http://www.apple.com/feedback/ipad.html
    Done and done. And thanks for a great and reassuring explanation.
    Message was edited by: TashTish

Maybe you are looking for