Using OLE DB with C++ on Windows

I am trying to get this sample code (see below) to run.
Has anyone been successful in running this code (OleMR)?
I get An E_FAIL error from the pIDBInitialize->Initialize() statement in the OLEHandler.cpp file.
Thank You,
Fred
Sample code came from Oracle.
http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/content.html
Oracle Technology Network > Sample Code > Windows > OLE DB > Oledb8 >
VC++ OLEDB Samples
Returning Multiple recordsets and passing NLS data to a stored procedure using OLEDB Interfaces with VC++ Download (ZIP,100 KB)
This sample shows how to return multiple recordsets from an Oracle stored procedure and pass NVARCHAR2 parameters to the stored procedure using OLEDB Interfaces with VC++.

If getting a unix like system installed is not feasible (or is not an option), use this:
http://cygwin.com/
http://www.cygwin.com/mirrors.html
This is not exactly like running unix tools against the Oracle db, but allows you access to unix type shell for almost all of your unix shell scripting needs.
Message was edited by:
Kamal Kishore

Similar Messages

  • I can't select Photoshop CC 2014 when using the "Open with" menu in Windows 7

    I have recently installed CC 2014, and uninstalled my CC version. When I go to a jpeg, or any image file in windows explorer, I right-click and "open with" and it isn't listed on my program list to open the file with. I click on "browse programs", find the exe file in adobe-photoshop cc2014 folder and click OK, and it just goes back to the open with menu with no option for photoshop.
    Any ideas on how I can get it on that list, so I can open these files from the file location, instead of opening up photoshop and then searching for the file location within photoshop?
    Also, I don't have any problems opening up the pictures from within photoshop, just within windows explorer.

    I'm having a similar problem, but only with jpg's. I have PS CS6, CC, and CC 2014. Other image file formats function normally with regard to the "open with" list. PS CC 2014 appears on the list. But with jpg's only PS CC appears on the "open with" list and 2014 can't be added by the browsing for it.
    The curious thing is that if I have any of the three versions of Photoshop open, click on Photoshop CC in the "open with" list, the image opens in whatever version is already open on my computer. This is true of all image formats. No matter which version I pick from the "open with" list it opens in the currently running program. I use only the latest version so keeping it open all the time is an easy work around. I won't uninstall any of the earlier versions lest more file association quirks result. it would be nice to have this matter fixed.

  • How to use the AVMenuItemExecute() with an External Window

    Hello,
    I'm trying to use the AVMenuItemExecute() function in an External window. I mean that I have an opened document in another window (using AVDocOpenFromASFileWithParams or a function like that).
    Actually the problem is that the AVMenuItemExecute() is executed on the Acrobat windows which is emplty in my case because I open the PDF file in another window.
    Do you know whether it's possible or not? Whethet it's possible how can I do that?
    Thanks in advance,
    Joël

    joeln3 wrote:
    Thanks Leonard.
    Actually I want to use all MenuItem so it's not a good way to do this.
    I know it's possible using IAC but I have another problem with IAC. IAC allows to show the PDF file in an external window and to use the ExecuteMenuItem(). But in my case a PDF file is already open before starting IAC. So when I use the ExecuteMenuItem() function this is on my first Acrobat window that the action is launched. Indeed the document opens with IAC is not in an Acrobat window.
    Regards,
    Joël
    Actually it's not possible with IAC.  While IAC does allow you to open a PDF in an external window, and it does allow you to ExecuteMenuItem(), as Leonard explained you CAN NOT ExecuteMenuItem() on the PDF in your external window.  The reason for this is simple - in your external window, the menu items to execute do not exist as the menu only loads inside Acrobat/Reader.
    ExecuteMenuItem() doesn't simply replace having menu items and call the internal code associated with that menu item.  It literally executes that menu item.  So if the menu doesn't exist, it can't execute anything.

  • Using Unix tools with Oracle on Windows

    I currently have an Oracle database installed on Windows, but would like to use Unix scripting tools and commands when connecting with my database.
    Can anyone advise a good way to configure my system so that I can connect to my database from a Unix-like system?
    Thanks in advance!

    If getting a unix like system installed is not feasible (or is not an option), use this:
    http://cygwin.com/
    http://www.cygwin.com/mirrors.html
    This is not exactly like running unix tools against the Oracle db, but allows you access to unix type shell for almost all of your unix shell scripting needs.
    Message was edited by:
    Kamal Kishore

  • Using VB DLLs with Java on Windows

    Hi! I have a dll in my windows which make a password encryption (ok, I know that Java can do it to, but my client wants to use THIS dlls...). I need to use a function from this dll, I need to give the dll a parameter and I expect a result from it, a String result.
    I have no idea of how to do it, hope you can help me...!
    Raul
    [email protected]

    actually, you have to go through the JNI nightmare before you can access libraries from the outside, and ActiveX dlls just won't work. I'm not 100% sure, but check in the Native Method section of this forum, and those guys there would know more about it.

  • Can I use firefox sync with my htc windows mobile? It is neither a droid phone or an iphone.

    I have the htc HD2 mobile and it is a windows system. How do I sync Firefox with it? Is it possible to do this?
    Thanks for your help!

    We're not currently developing Firefox for Windows Mobile, but there is an old pre-release version that you can try out here: https://wiki.mozilla.org/Mobile/Platforms

  • Bootcamp won't recognize USB with ISO, nor Windows Installer Disc

    I have been wanting to install Windows on a seperate partition through Bootcamp. To do this i have both created an ISO, and have a Windows Installation disc. However, when i open bootcamp the following two problems occur:
    The option to use an .iso on a USB, is faded and I am unable to use it.
    I therefore choose to install via a disc, this goes fine right until the point where i choose partition size. Upon choosing the size i want to partition and clicking next, Bootcamp brings up an error saying that I must insert the windows installer disc and wait some seconds. However IT IS INSERTED! I have tried mounting the .iso as well, nothing seems to work.
    Is there anyway to get bootcamp to partition without it having to find my windows installer disc? I am certain that there is nothing wrong with the windows iso, nor disc, so i really just want it to work...
    I am running Lion on a Macbook Pro 13 2011, Bootcamp 4.0

    Hey, finally found the solution.
    The problem wasn't burn speed, but rather the OS i used to burn with, meaning that windows apparently wasn't even capable of burning a disc correctly. I transfered the ISO to my Macbook and mounted it, I then used disc utilities to burn it to a disc and VOILA! Everything worked smoothly!

  • Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed

    We are planning to Silent print a PDF from a web page using Flex. We are targeting Windows and Mac with Arcobat reader installed. I have tried using the AIR appliaction and it worked, But our requirement is NO INSTALL to the user machine for the silent printing. It is just from web page and silent printing to the default printer to the desktop/Laptop. Can anyone share your thoughts and experience with us. It will be very helpful..
    For AIR : I tried the thread Re: AIR and PDF showing/silent printing

    Hey CodeMonkey & Ross,
    Did you either of you ever find a solution? I'm stuck too, it seems I can get remote printing on all these PDFs to work but it just prints a blank page since I've been using Javascript in the browser, not Adobe's (they are Engineering drawings that I do not have permission to edit so I can't just insert code into them but I need to make work instructions). I've been scouring the internet for hours now, it seems that this thread is the only relevant/useful one at this point. No one else was trying to achieve this for similar reasons to mine.
    Thanks guys,
    Lox

  • For the first time, I'm trying to use adobe premiere elements10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or

    For the first time, I'm trying to use adobe premiere elements 10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or the codex is not installed. As a test, I created another very small project and get the same error message, when I try to open it. Pls give me a simple answer, a refund or a phone

    mike frischenmeyer
    What computer operating system is your Premiere Elements 10 running on? And, what video card/graphics card does that computer use?
    Is this the first time you are using Premiere Elements 10 or have you worked with it before successfully? There is no easy solution until we
    know the details and troubleshoot to determined what caused the problem.
    1. Can you open a new project?
    2. After you saved/closed the problem project, did you move, delete, or rename any of the files/folder that were related to the source media
    for that project?
    3. Please review the Adobe document on troubleshooting damaged projects.
    Troubleshoot damaged projects | Adobe Premiere Elements
    4. What are the steps that you are using to reopen this saved closed project.
    a. File Menu/Open Project/Name of Project
    b. Other
    Please review and consider and then we can decide what next based on your further details and results..
    Thank you.
    ATR

  • I had an iPad2 and use a PC with windows xp to synchronize iTunes. Now i have a Mackbook Pro. How do I synchronize my Ipad to the new macbook without losing all my data?

    I had an iPad2 and use a PC with windows xp to synchronize iTunes. Now i have a Mackbook Pro. How do I synchronize my Ipad to the new macbook without losing all my data?

    On the MacBook launch iTunes.
    From the menu bar click Store / Authorize This Computer.
    Now sync your iPhone.
    Apple - Support - iPhone - Syncing

  • Is there a way to use PM4.0 with Windows XPH?

    Is there a way to use PM4.0 with Windows XPH without purchasing the latest suite or upgrades?  I origionally purchased a suite with Pagemaker, Photostyler and Freehand just before Aldus went Adobe, and Win3.1 went Win95, then WinME and WinXP.  I miss PM and have several manyscripts saved on PM4.0 and can not export or import them to any current wordprocessing programs.  I was very far into one manuscript and am now in a position to finish it up but don't want to have to purchase a whole suite in order to do so.  Any suggestions for this old tightwad?  [email protected] 

    Jay Chevako wrote:
    Find an old computer and run win3.1.
    Jay
    Shouldn't that be Win3.0  c.1991?  And with a very early of version ATM (Ver 2?)  if you want to do anything with fonts?
    I think I have a WinME PC in the garage, which if you can re-format with DOS 5 and install Win3 instead (I may have the disks in the garage too), PM4 will positively scream along.
    I reckon it's non starter on a modern WinXP PC, as the OS is so different, but if you're willing to experiment, you never know!
    But if you want to open some old files to extract the text, you can open the PM4 files and save them with a d/l'ed trial copy of PM7, which will be OK on WinXP
    Iechyd da! John
    23:45 27/04/2009

  • Can i use an external hard drive in windows to add additional storage after my initial partition is set up. i want to add a 500 GB hard drive to use with my windows. I set windows up in boot camp with a 50 GB partition?

    can i use an external hard drive in windows to add additional storage after my initial partition is set up. i want to add a 500 GB external hard drive to use with my windows. I set windows up in boot camp with a 50 GB partition? I now want to add another 500 GB?

    Yes. Windows supports external USB drives.

  • Just set up iTunes for windows but when I try to sync my iPhone to this it says I have another iTunes library on my power book. It than asks if I want to erase this iPhone and sync with this iTunes library. I used the same  library on the windows is blank

    Just set up iTunes for windows but when I try to sync my iPhone to it this is what it says, I have another iTunes library on my power book. It than asks if I want to erase this iPhone and sync with this iTunes library. I used the same password on this windows pc system same log on etc..I don't have anything loaded on it. All I want is for the info that's on the power book in iTunes and my iPhone to snyc/update etc on the windows pc.  How do I do this? My power book is dead to the world. 

    Read here.
    https://discussions.apple.com/message/18565125#18565125

  • HT1692 I just upgraded my pc to Windows 8.  How can I sync my iPhone 5 and iPad using a USB cable with iTunes for Windows 8 ?

    How do I sync my iPhone 5 and iPad using iTunes with my new Windows 8 computer?  Windows support community implies it's an Apple problem.

    chateaudrive wrote:
    roaminggnome,
    Windows Support says you cannot sync Calendar function for  iPhones with Windows 8
    You did not mention this in your 1st post.
    Did you try the troubleshooting steps on the page you came from?

  • I'm trying to insall Adobe Photoshop CS3 on a new ASUS ASM11BB001O computer equipped with 64-bit Windows 7.  I use a "bundle" approach, first loading Photoshop 6, then upgrading with CS upgrade and then CS3 upgrade.  The installation goes smoothly until I

    I'm trying to install Adobe Photoshop CS3 on a new ASUS ASM11BB001O computer equipped with 64-bit Windows 7.  I use a "bundle" approach, first loading Photoshop 6, then upgrading with CS upgrade and then CS3 upgrade.  The installation goes smoothly until I add PS CS, and then it balks at the "accept" Adobe conditions screen.  I have two other (Gateway) computers with Windows 7, 64-bit, on both of which the PS-6, CS-CS3 pathway worked fine.  Any thoughts on how to get this working?  Thanks

    If your goal is to install and activate CS5 there is no need to install anything preceding it.  You will only need to have the serial number from the preceding version that you upgrade from (CS3 I guess).

Maybe you are looking for

  • How do I stop playing animated GIF's within web pages?

    Various websites display numerous images available for download. Some of those images are animated GIF files. These files take time to load and chew up a lot of my limited upload/download usage. IE Explorer let me see a single image for the GIF but d

  • Re-starting source due to DV gap in source

    Hello, We are constantly getting error "Re-starting source due to DV gap in source"  on our Adobe FMLE 3.2 , and because of this FMLE hangs and need to restart many times. Kindly request you to suggest , why this might be happening , and what could b

  • Live cache

    dear all when  i m going to start live cache it shows error " DBMCLI_COMMAND_EXECUTE_ERROR" please tell me solution how to reslove it regds

  • Disabling User Interaction

    I'm trying to make what basically amounts to an animation using Flex. One of the pieces in the animation is a text box that scrolls downwards. The problem is that the user can interact with it (hilight the text, scroll the scrollbar, etc.). I know th

  • Standard report for export sales & import purchases

    Hi all, In SAP any standard reports for the following: 1. Export sales 2. Import purchases regards, lakshminarayana