Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8332145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:38:22+00:00 2026-06-09T02:38:22+00:00

I’m using Visual Studio to develop a C++ program that uses OCCI to query

  • 0

I’m using Visual Studio to develop a C++ program that uses OCCI to query an Oracle 11g database. It’s a pretty simple program at this point, and only makes a single query, but I keep running into runtime errors. I first tried to develop this in VS2010, downloading the 11.2.0.3 OCCI files, and I got an error related to the entry point for a heap-alloc procedure not located in oci.dll. I get the impression this error might be due to the fact that my Oracle client is 11.2.0.1.

Since I’m unable for support reasons to upgrade my client to a higher version, I decided to fall back to using Visual Studio 2005, since I read in Oracle’s OCCI documentation that the vc8 versions of OCCI libs and DLLs come installed already in the 11g client. So I moved my C++/OCCI program over to VS 2005 and now I get a different debug runtime error: An error message box saying “The application failed to initialize properly”, and a message from the loader in the VS Output window saying” ldrpWalkImportDescriptor() failed to probe [ORACLE CLIENT DIR]\oci\lib\msvc\vc8\oraocci11d.dll for its manifest, ntstatus 0xc0150002″ I don’t see a manifest file for the oraocci11d.dll, so I’m at a loss for how to resolve this. Can anyone more versed in VS setup for OCCI make a suggestion? Thanks in advance…

Sheldon

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:38:23+00:00Added an answer on June 9, 2026 at 2:38 am

    I notice that a number of OCCI questions here are left unanswered, so I feel obligated to explain how I got past my issue 🙂 As is often mentioned in OCCI threads, the key is to download the appropriate version of the Oracle Instant Client. I had tried to use files from my runtime client that I already had installed, but the version number for that client is 11.2.0.1, and the OCCI for VS2010 requires a version of 11.2.0.2 or 11.2.0.3 . So I ended up downloading version 11.2.0.2 for both the OCCI and the Instant Client, since the version numbers have to match for things to work…

    After that, it was simply a matter of setting the PATH environmental variable and configuring the Visual Studio project to point to the directories that contain the OCCI DLLs, libraries and include files, and also setting the TNS_ADMIN environmental variable to point to the directory containing the TNSNAMES.ORA file that defines the database to which I’m trying to connect. For a step-by-step description of this setup, refer to this blog post by Mark Williams. Even though this post was written for Visual Studio 2008, the procedure is still the same for 2010, just with different version #s…

    Sheldon

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am doing a simple coin flipping experiment for class that involves flipping a
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm making a simple page using Google Maps API 3. My first. One marker
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am reading a book about Javascript and jQuery and using one of the
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.