Visual C++ 6.0 and Oracle

Hii..
I m using Visual c++ 6.0 and Oracle 10 g. I m very new to vc++. And i would lik to build some database applications.
I couldnt find any resource in the net.
can anyone help me ?? Send some sample codes and documents !!
sankar.s

BTW this is not the right forum for C++ stuff, this one's meant for anything related to ODBC
I guess you meant building database applications using C++
For that you can use OCCI, following link can provide some info on OCCI with few samples
http://www.oracle.com/technology/tech/oci/occi/index.html
For detailed documentation on OCCI you can browse
http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10778/toc.htm

Similar Messages

  • Visual Web Developer 2010 Express and Oracle ODAC - Oracle data provider

    system - xp pro
    Microsoft Visual Web Developer 2010 Express and Oracle ODAC112021.
    I can't seem to get the ODAC to work correctly with the Web Developer Express. When putting in a gridview I only see the standard adapters. The one from Oracle does not appear. I have spent days trying to figure out why but no luck. No one else seems to have this problem. I do not see any errors when I installed the ODAC. I've followed a few tutorials.
    http://weblogs.asp.net/nannettethacker/archive/2010/09/17/installing-oracle-data-access-components-odac.aspx
    and
    http://www.smart-soft-nz.com/oracle-and-asp-dot-net.html
    I tried using the Windows adapters but they just don't seem to work. I can get results in the query builder but when I go to the next step in the wizard I get the constraints error. I've done all the research on that with no luck so I wanted to use the ODAC. This killing me! This really shouldn't be that hard. I've added the dll to the references but again it's just not an option. If anyone could give me a little direction that would be great!!!!!!!!!!!!!!!!!!!!!!
    Thank you
    John

    Dear Friends,
    Installing SP1 and updates to it solved the first issue. So the database now seems to be of type 2008 R2.
    Deleting some files solved the second issue.
    However, another issue remains.
    My most important projects were created with a version of VWDX 2010 that was downloaded from Microsoft and installed on July 3, 2012. This version of VWDX has now been lost, because my hard drive recently ceased to function and had to be replaced.
    On the new hard drive I have a version of VWDX 2010 that was downloaded yesterday (May 28, 2014). As indicated above, I also installed SP1 and related updates.
    When I load a project that was created in the version of VWDX 2010 that was installed almost two years ago and try to open the database connection, I get, in essence, the following error message:
    "The database C:\Users\...\Database.mdf cannot be opened, because it is version 661. This server supports version 655 and earlier. A downgrade path is not supported."
    So it seems that the original database version was 661, whereas the version downloaded yesterday is 655. It seems very strange that a version downloaded now should be earlier than a version downloaded two years ago. Does anyone have an explanation or a solution?
    Thank you all for your trouble, and best regards.
    Eric (orexin)
    P.S. The site from which I obtained VWDX yesterday was:
    www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-web-developer-express and the executive was called VWD2010SP1AzurePack.exe.

  • Visual Cafe and Oracle thin driver

    I have created a java applet using visual cafe and oracle think
    driver. The applet connects to database within the visual cafe
    environment. If I try launching applet locally within a browser
    I get the following error "Error:securit. Couldn't connect to
    'host' within origin from 'local_classpath_classes" Any help is
    greatly appreciated.
    THanks
    John Famolaro
    null

    John
    I also had this problem. Its a general security problem.
    Because your trying to connect to another machine, you
    must sign your applet to get full security privelages from
    within your browser. The sandbox within the JVM of the browser
    doesn't let you open connections to other machines.
    (Although my original understanding was that if the applet
    was stored locally, then you had full privelages - but it
    didn't work like this for me.)
    Try signing your applet.
    steve
    John Famolaro (guest) wrote:
    : I have created a java applet using visual cafe and oracle think
    : driver. The applet connects to database within the visual cafe
    : environment. If I try launching applet locally within a
    browser
    : I get the following error "Error:securit. Couldn't connect to
    : 'host' within origin from 'local_classpath_classes" Any help
    is
    : greatly appreciated.
    : THanks
    : John Famolaro
    null

  • Looking for comparison between MS Visual Source Safe and Oracle SCM

    Hi,
    I am looking for some comparison between MS Visual Source Safe and Oracle SCM.
    What I need is technical feature comparison (not just marketing comparison stating that Oracle SCM is better for everything is stored in the very reliable Oracle database(although this is a good point)).
    Any help in this area will be helpfull.
    Best regards,
    Mihail Daskalov

    Thanks you for your answer,
    I like very much Oracle SCM, which I use extensively.
    I have very little experience with MS VSS (only on my local machine). I have never tested it in a network environment with multiple developers.
    I would like to convince other developers to switch to Oracle SCM, but I need to know what to tell them.
    I'm actually both a developer and DBA, and I do like the safety the Oracle Database offers for storing files inside.
    I like very much the opportunity to connect with Oracle Repository Navigator from a remote location to my database through Connection Manager and to be able to work with my projects. (There is an issue with this configuration due to the JDBC driver used I'm unable to compare files).
    But to convince people I need to know more about the differences between MS VSS and Oracle SCM.
    I would appreciate if any of the developers share experience with VSS and SCM.
    Regards,
    Mihail Daskalov

  • MS VisualStudio7 and Oracle precompiler

    Use someone MS Visual Studio 7 and Oracle precomiler?
    I have some problems to include the precomp file.
    such as:
    error LNK2019: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned long *,struct sqlexd *,struct sqlcxp const *)" (?sqlcxt@@YAXPAPAXPAKPAUsqlexd@@PBUsqlcxp@@@Z) referenced in function "long __cdecl open(void)" (?open@@YAJXZ)
    Thanks for help
    arno

    try declaring these functions as extern "C" and also put all the Oracle include header files under
    extern "C" {
    Hope this helps.
    Use someone MS Visual Studio 7 and Oracle precomiler?
    I have some problems to include the precomp file.
    such as:
    error LNK2019: unresolved external symbol "void __cdecl sqlcxt(void * *,unsigned long *,struct sqlexd *,struct sqlcxp const *)" (?sqlcxt@@YAXPAPAXPAKPAUsqlexd@@PBUsqlcxp@@@Z) referenced in function "long __cdecl open(void)" (?open@@YAJXZ)
    Thanks for help
    arno

  • Webdynpro java and oracle DB connection..

    Hi,
    I have a good knowledge of WD (web dynpro java) projects having ECC as backend as i have done lot of projects where ECC is backend and WD JAVA is front end.
    but in my new project i have wd java as front end but my backend is oracle DB. I want to know how to create/setup  connection betwen webdynpro java and oracle DB, how to proceed on this ? wat all settings I have to do in VA (visual admin) and all.
    please let me know how to proceed on this. Any document/tutorial on this will be very helpful..

    Hi Rahul,
    Create a DataSource to the oracle db in Visual Admin, give the datasource an alias name and connect to the db from WebDynpro by calling the alias name.
    These document might be useful:
    [http://help.sap.com/saphelp_nw70/helpdata/en/c0/3ad4d5cdc66447a188b582aad537d3/frameset.htm]
    [SAP Note 867176|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=867176]
    [SAP Note 941594|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=0000941594&nlang=E]
    Good luck!
    Regards,
    Aditya

  • Is it possible to install oracle 11g client 32 bit and oracle 11g client 64

    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambit

    959211 wrote:
    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambityes, possible; but minor challenge to manage dynamically
    how to ensure that you actually use the flavor you desire?

  • Oracle Database 10g and Oracle Client 9i together

    Hi, I've been lost some nights in this problem, in my job I will need migrate my Oracle Database 10g for a new computer, on the other hand, there is a software in this computer wrote in Visual Basic and this running only Oracle 9i Client.
    Is it possible configure my new server for run Oracle Database 10g and Oracle 9i Client together?
    Thanks!
    Emerson

    You can certainly use an Oracle 9i client to connect to an Oracle 10g database. Technically, you may have to apply the 9.2.0.4 patchset to the Oracle client to be completely supported, but that may not be strictly necessary.
    You can also have both a 10g database and a 9i client installed on the same machine in different Oracle Homes. You may have some issues on Windows, however, if you are using software that is not multi-home compliant (i.e. the Microsoft ODBC driver for Oracle) or if you call Oracle command-line utilities (exp, imp, etc) without explicitly setting the PATH first.
    Justin

  • Microsoft and Oracle - Developer Studio?

    Hi,
    did any body read this? http://www.oracle.com/corporate/press/index.html?3151964.html Will this mean the same productivity for Microsoft Developer Studio as in JDev 10g? If yes, then we will have ahard time at my company to justify the usage of JDev 10g. :-(

    It does not mean that. There should be a FAQ document posted to OTN this week that helps clarify some of this.
    As the press release mentioned, Oracle has joined this VSIP program so that we can build some extensions to the Visual Studio .NET environment that make working with the Oracle database easier for developers that have already picked .NET.
    For developers targeting J2EE, or developers that are still undecided as to whether to pick J2EE or .NET, our JDeveloper 10g tool and Oracle ADF framework are already more productive in most business application development scenarios than Visual Studio .NET is today -- as well as obviously more portable and standard -- and everything we are working on in JDeveloper and ADF will continue that trend.
    Microsoft recently announced that it's 1.0 release of an ADF-like framework (Microsoft Business Framework), has slipped into the Longhorn timeframe (2007 or beyond). And that will be the 1.0 version!
    http://www.crn.com/sections/BreakingNews/dailyarchives.asp?ArticleID=49958
    We've been working on Oracle ADF (initially on its core application-building features under the name BC4J) since 1997, and been production since April 1999 when we first shipped parts of BC4J in JDeveloper 2.0. Oracle Applications have been using Oracle ADF (in the form of BC4J) since 1999 in a rich way to build the next generation of their web-based self-service applications. It's also used by many external customers, too, so needless to say, we have a bit of a lead in this enterprise application-building space and are not sitting on our hands by any means! :-)

  • Select query differences between oracle 9 and oracle 8.

    Hi,
    I have a problem using the select query between oracle 7 and oracle 9i I don't have the same result :
    ex:
    With oracle7
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP 'CHAMP
    champ1 champ2
    With Oracle 9
    SQL> select 'champ1','champ2' from DUAL;
    'CHAMP1' 'CHAMP2'
    champ1 champ2
    So Can someone tell me how to solve this problem ? Is there a parameter in oracle 9 to set?
    Thanx.

    Whenever you are posting anything over internet forums like this - you should be very careful about not just posting the details which requires to solve the problem - also should be sensible about your question.
    This is not at all desired when you are posting such question. It may be because - you may not well aware of the fact.
    My suggestion is -> First Go through the basics Of SQL in general.
    Then go for any specific product like Oracle/ SQL Server/ Sybase etc.
    And, finally learn the advanced commands of that DB.
    You asked it - may be you thought the difference in output in terms of lines. But, that is not your actual output. That is the graphical display part only.
    Anyway,
    You can get the quite familier output by first type the following command ->
    set lin 310Regards.
    Satyaki De.

  • Oracle Single Sign on and Oracle Internet Directory

    Hello Gurus,
    What is the relationship between Oracle Single Sign on and Oracle Internet Directory.
    To my understanding, OID is required to install SSO.
    If OID already exist, can we just install SSO and go on integrating it to existing OID.
    Great Thanks,
    vimal jain.
    [email protected]

    Hi Tim,
    I've been working on this and could reproduce the issue with anonymous binds. A fix will be ready in 4.2.1.
    So what I really need is the password used for login to pass to the is_member call.The P101_PASSWORD item does not save state. However, you can access the value during submit processing of the login page, for example in the post authentication function of your authentication scheme. People sometimes put code in there to query the user's groups (e.g. with apex_ldap.member_of2) and save them in an application. This item value can then be used in the authorization schemes.
    Regards,
    Christian

  • Error on Visual Basic 6.0 and Crystal Reports 9.2 on XP SO

    We need support to resolve an error on a system made with Visual Basic 6.x and Crystal Reports 9.2.
    Error '-2147417848 (80010108)'
    Automation Error
    Not always give these errors.
    Often occurs after request two reports followed and SO is XP
    When SO is Windows 2000 professional this error not occurs.
    These are versions of the products used:
    Versión Visual Basic:  6.0.9782
    Versión Cristal Reports:  9.2.0.448

    Hello,
    This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
    Try downloading the only patches available from:
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
    ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
    Thank you
    Don

  • Oracle Spatial and Oracle Forms

    Hi,
    Does anyone have experience with Oracle Spatial and Oracle Forms?
    I have generated a form, which is based on a view. The view uses the mdsys.sdo_relate operator. Somehow I am unable to get the form to perform (to get one record it takes over 20 minutes). While useing sql-navigator to process the same statement it seems no problem. The query that also uses the view, is then processed in 10 seconds.
    I also noticed that when text-functions like ' lower' of ' upper' are used to query the view, the query is processed within 15 seconds. If I don't use ' lower' or ' upper' it takes a long time (> 20 minutes) to process the query. Is it possible that this causes the bad performance of the form?
    On metalink I have found that forms and spatial do not cooperate because of the pl/sql version that
    forms6 uses. There is no solution presented, does anyone know of a work around?
    My configuration is:
    Oracle 8.1.7 on WIN2K @ PIII-800Mhz 256 Mb memory.
    Formsbuilder 6
    If requested I can post the queries that I have made.
    With regards,
    Gerjan Walrecht
    [email protected]
    null

    Hello Priya,
    Look into the following.
    1. Book - Pro Oracle Spatial for Oracle Database 11g by r. Kothuri, A. Godfrind, E. Beinat. This book provides a nice introduction on Oracle Spatial concepts and have examples.
    2. Look at the Oracle Spatial & Graph User Guide
    2. Book - Applying and Extending Oracle Spatial by S. Greener and S. Ravada. This book provides hands on information for advanced oracle spatial application developers. Practical guide on hands-on examples, Data models and  develop cross-vendor database solutions.
    3. This oracle spatial forum, once you understand these concepts.
    In the future consider Certification on Oracle Spatial 11g Certified Implementation Specialist.
    Best
    Navaneet

  • Oracle Streams b/w MS-Access 2007 and Oracle 10g.

    Can we set up Oracle Streams between MS-Access 2007 and Oracle 10g? Ms-Access as source and Oracle 10g as destination database. If so, can any one please give me little heads up with supported doc's or any source of info.

    Help Help....!!!

  • Limitation on SQL executing select statement from ADO and Oracle 8.1.7.1 OleDB Driver

    Hi,
    we are running a query with a big dunamic select statement from VB code using ADO command object. When Execute method is called system hangs and control won't return back to the application. it seems to be that there is some type limitation on Query string length. Please tell us if there is any?
    we are running Oracle 8.1.7 Server on Windows 200 Server and connecting from a W2K professional, ADO 2.6 and Oracle OLEDB 8.1.7.1 OLEDB Driver.
    Sample code:
    Dim rs As ADODB.Recordset
    Dim cmd As ADODB.Command
    Set cmd = New Command
    With cmd
    .CommandText = ' some text with more than 2500 characters
    .CommandType = adCmdText
    Set rs = .Execute
    End With
    when i debug using VB6 and when .Execute line is called system hangs or return a message method <<somemethod> of <<some class name>> failed error.
    Any help is appreciated.
    Thanks,
    Anil

    A stored procedure would only slow you down here if it was poorly written. I suspect you want to use the translate function. I'm cutting & pasting examples from the documentation-- a search at tahiti.oracle.com will give you all the info you'll need.
    Examples
    The following statement translates a license number. All letters 'ABC...Z' are translated to 'X' and all digits '012 . . . 9' are translated to '9':
    SELECT TRANSLATE('2KRW229',
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ',
    '9999999999XXXXXXXXXXXXXXXXXXXXXXXXXX') "License"
    FROM DUAL;
    License
    9XXX999
    The following statement returns a license number with the characters removed and the digits remaining:
    SELECT TRANSLATE('2KRW229',
    '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', '0123456789')
    "Translate example"
    FROM DUAL;
    Translate example
    2229
    Also, LIKE '%<string>%' is going to be rather expensive simply because it has to compare the entire string and because it forces full table scans, rather than using indexes. You could speed this sort of query up by using interMedia Text (Oracle Text now in 9i). If you can eliminate one of the '%' options, you could also improve things.
    My guess is that your stored procedure is inefficient and that's causing the problem-- 5k rows per table should be pretty trivial.
    If you post your query over on the PL/SQL forum, there are better performance tuners than I that might have more hints for you. To get really good advice, though, you'lllikely have to get at least the execution plan for this statement and may need to do some profiling to identify the problem areas.
    Justin

Maybe you are looking for

  • I am still having trouble with extensions in Dreamweaver CS6

    I have installed a couple of extensions that I got through Adobe Marketplace and installed them with Extension Manger. I have been through tech support many times. I have even been escalated up to the next level, 4 or 5 monthe ago and have yet to hav

  • J1IF01 - problem

    Hi All, I have configured the necessary setting for creating Sub-contract challan.  However, when go J1IF01 and put mat.doc no, year, Excise group, series group, the system says "Please specify the number of line items for the challans" How to clear

  • E-Recruiting: How To Add A Customised Status

    Hi Experts, I would like to add a new status (not status reason) to a candidacy object type.  Anyone knows how to do it? Thanks in advance, William

  • Creating a BW system in EP 7.0

    Hi all I need to put up a BW report in portal..what option should i use in the system creation template..will that be a BI (JDBC/ODBO/SAP QUERY) system or an SAP system (dedicated app server / load balancing server)... my BW is on WAS ABAP n my porta

  • Tcode: SALE

    Dear ABAP'ers, How to Assign two Logical systems to One client? First of all, is this possible? and if yes, then how to assign. I have 800 client in R/3 system and 800 client in SAP-BW system I want to transfer data from both the systems. Points will