How builds applications being able to connect whether to ODBC or to CS

I want to build applications which connect whether to ODBC or to CS with ttclass.
Can we develop? If we could do these, please tell me how to approach.

Okay, this is a fairly common 'want'. The simplest way is to have two different binaries, one linked with each library but that does not allow you to control the connection via arguments to the program (at least not at all easily). Unfortunately there is nothing in TTClasses that really helps you here. What you need is an 'ODBC driver manager' which is basically a library which you link with your application in place of an actual ODBC driver. At run time, based on values in the ODBC.INi file, it will dynamically load the correct driver (direct mode, client/server or indeed a non-TimesTen ODBC library).
If you are on Windows, the good news is that Windows comes with a driver manager included. If you are on Linux (or Unix) there are a couple of open source ones that you can download and build (e.g. iODBC and UNIXODBC are the most common). A third alternative is to write your own; it is not as difficult as you might imagine and will likely perform better than a ready made one. Use of a driver manager will bring some performance hit of course since it adds to the code path of every DB call.
Chris

Similar Messages

  • Mail abruptly stopped being able to connect with my .mac account. It will download from other accounts.

    A week or so ago while I was not at home Mail stopped being able to connect and download email from my .mac account. I can still use Mail to download email from my Gmail and Comcast accounts, however.  I can still download .mac email from my iPad and after installing Thunderbird I can download .mac email on my Mac. I downloaded PostOffice, but it won't download .mac email either. There has to be something that has gotten corrupted. Any ideas of what could be wrong and what I can do to get it corrected?
    Thanks.

    Make that "Postbox" not "PostOffice."

  • The clock on my ipad seems to be stuck? Could this have anything to do with my not being able to connect with FaceTime ?

    The clock on my iPad seems to be stuck ? Could this have anything to do with me not being able to connect with FaceTime ?

    In order to backup to iCloud the iPad must be plugged into a power source, connected to WiFi and locked - meaning that it must be asleep - or with the lock screen only visible. This is for automatic backups.
    If the iPad is not responding at all to any user input, try restarting it or resetting it and see if you can take the steps necessary to back up. You can initiate the backup manually as well.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • I am not being able to connect to another Apple device using the Face time what settings do i need to check.The device being used is an iPad mini

    I am not being able to connect to another Apple device using the Face time.The device being used is an iPad mini.
    The internet connectivity is perfect the wifi is even working.

    '''plafstudiesdotc'''
    You are welcome.
    '''''So that other users can find answers that have worked, please take a couple of minutes to return to the forum, sign in and click "Solved" next to my answer. Thanks. '''''

  • Stopped being able to connect to msn

    Not sure if I am on right message board but hopefully I am. I suddenly stopped being able to connect to msn no matter what I tried can anyone advise anything please.
    Regards Avril

    Hi, No it was just msn I could not connect to but must have been msn blip as it is all ok now. thanks regards Avril

  • Web application not able to connect to Oracle 10g

    I have been facing an issue with my Web application past 2 days wherein
    I am not able to connect to oracle database. The error is receive when I compile my project : OCIEnvCreate failed with return code -1 but error message text was not available. I have defined my connection in web.config and calling it using a connection string
    Details: os : window7 (64bit) .NET framework 4 Oracle 10g 32 bit can you please help me and provide me with a s

    Hi,
           My Question is related to Microsoft visual studio (.Net Framework). 
    Issue: My Application build in Asp.Net is not able to connect to Oracle 10g database (32 bit). My OS is 64 bit in which my visual studio2010 is Installed.
    Thanks
    Error:  
    OCIEnvCreate failed with return code -1 but error message text was not available.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.Exception: OCIEnvCreate failed with return code -1 but error message text was not available.
    Source Error: 
    Line 28:
    Line 29: OracleConnection con = new OracleConnection(connStr);
    Line 30: con.Open();
    Line 31: str = "select count(1) from ITS_INCIDENT";
    Line 32: com = new OracleCommand(str, con);

  • Application not able to connect with intenet on No...

    I am having aproblem with my nokia e5. I am able to browse internet and also able to use OVI store i.e. my mobile is able to connect to internet but my installed applications (like skype, fring) are not able to connect to internet.
    When i change the seting to "Always Ask" and try to log into skype it continues logging in for ever... plz help

    What happens when you try?

  • Not being able to connect to Wifi Iphone5 after IOS 8.3

    After updating to IOS and especially IOS8.3 my IPhone 5 is not able to connect to a Wifi network or is constantly asking for a password even though the correct password is entered. How to solve this problem?

    Hello jriprv,
    After reviewing your post, it sounds like the iPhone is having trouble connecting to one Wi-Fi network. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    If your iPhone, iPad, or iPod touch won’t connect to a Wi-Fi network - Apple Support
    Recommended settings for Wi-Fi routers and access points - Apple Support
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Not being able to connect to WiFi network

    I just got my IPOD Touch today and I was picking up free WiFi and was not able to connect and now I have been trying to connect to the home network and it will not let me. I am not sure what I have to do to get the WiFI working. Can anyone give me any ideas. Thank You

    I just got my IPOD Touch today and I was picking up free WiFi and was not able to connect and now I have been trying to connect to the home network and it will not let me. I am not sure what I have to do to get the WiFI working. Can anyone give me any ideas. Thank You

  • I'm experiencing wifi issues with my new iphone 5 not being able to connect to, or when connected not dowloading from my wifi network at home using ios 6.0.2

    i purchased a new d-link dir-655 wireless n extreme router to strengthen my signal at home and cannot connect from the opposite end of the house from where the router is.  When I'm near the router i can connect and download with no problem.  When I move 10-20 ft from the router I can connect, but not download.  More than that, I can't connect.  What fristrates me is my old iphone 3gs is able to connect and download perfectly from anywhere in the house!!??  Do i need to replace the iphone?

    I have the same problem, it's better trade my iPhone, or the apple it's gonna fix at the next upgrade? Please, someone help me, I try everything.

  • Suddenly not being able to connect to Airport Express

    Hi - I am suddenly not able to connect to my Airport Express, which I use to connect to my home theater for music playing. The light is green, I rebooted it, and in fact, when I disconnect and reconnect the base, I can briefly see it in the admin utility. After that it disappears. Airtunes does not detect it either. This happened all of a sudden. The only new thing is that I added two new computers to my wireless network, both with Windows Vista. I had to make some sort of update to my XP computer in order to be able to conect to these computers. Could that have anything to do with this? The error code I am getting is 6753. Thanks!

    I installed the software in another computer, and it's not working at all (this is one of the new computers with Vista).
    Unfortunately, version 4.2 is not compatible with Vista, although I understand that some have found a work around by running it in WinXP-compatible mode. I believe version 5.x does, however, it's not available as a download.
    The following is a workaround for Vista from another Discussions member ...
    1. You will need a program called Less_MSIerables:
    http://blogs.pingpoet.com/overflow/archive/2005/11/16/14995.aspx
    2. Download it to your desktop
    Unzip that file (Should end up in your unzipped file folder)
    3. Now, download Airport Extreme (works for Airport Express, too) software:
    http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=14697&cat=1&platform =osx&method=sa/AirPort521Update.exe
    4. Use a program like winrar or winzip to uncompress that file to a new folder
    5. Next go to the folder in which you saved the unzipped version of Less_Msierables
    6. In a subfolder you will see a file called Lessmsi.
    7. Right-click on this file
    8. Go to properties.
    9. Go to compatability.
    10. Run in XP Mode
    11. Apply
    12. OK
    13. Again right-click on icon.
    14. Run as administrator.
    15. Then click on the ... button to browse to the folder you uncompressed the AirPort521Update (adjust for whatever version they happen to be on)
    16. You will see a list of many files, but the one of the first will be APUtil.exe.
    17. Extract this file to a location that you can easily find.
    18. A file folder will appear with a name like cab#APSetup.cab1
    19. Open that file folder and you will see a file APUtil.exe
    20. Click on that file, and the admin utility will open. You should be able to find your airport device.

  • HT1414 how can you unlock your ipod without being able to connect to itunes

    my daughter lock her ipod touch and forgot the passcode...i am unable to connect to itunes...is there another way to restore her ipod

    No.

  • How do I fix not being able to connect to itunes on ios 7.0.2

    Ever since ios 7 I haven't been able to use itunes or sign in to my account for the App Store

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • How do you turn off find my Iphone without being able to connect to the internet?

    I cannot turn the find my IPhone feature off on my old phone since there is no service because I activated my new 6 and the Wi-Fi is burned out on the old phone.  Need to turn this off for trade in purposes, but cant.  I have tried recovery mode through iTunes, but it does not delete any data on the phone or reset any feature.  Please help.

    Log onto icloud.com on a computer and see if you can turn it off on there.

  • Business Objects Query Builder - application server for data connections

    Hi experts,
    I am trying to flush out all instances where we have universes with connections pointed to the wrong application server. I was hoping to use query builder to show me the application server being used for all connections (metadata.dataconnection)
    Is this possible?
    Edited by: Khaled McGonnell on Nov 3, 2010 6:11 PM

    Hi Srinivas,
    I had tried SELECT * already : )
    The application server is the server on which the BI system you are connecting to is located. You have to define this when you create the connection in Universe Designer.
    You can see the application server for "connections if you use the following query:
    select si_server from ci_systemobjects where si_kind = 'Connection'
    However, these are not the connections used by universes. These connections are from logged in users. Any ideas?

Maybe you are looking for

  • Error while uploading Transport request

    Hi friends, Error while uploading transport request to the transport directory, we downloaded the trasnport request from one sap system which have a set of developments for example downloaded files are; control file: K900470.SAD and Data file: R90047

  • How to change exchange rate during billing (VF02)

    Respected Members, i already created the Billing documents from sales order and it took the exchange rate wat i mentioned in the sales document. but still it is not release to accounting . So i want to change the exchange rate in change of billing do

  • Exporting Indesign book to single page PDFs

    Hi, I'm after a script that will enable me to select an entire Indesign book and export it as separate individual PDFs in one go. I know there are a few scripts that either export the book into chapters or export the .indd files to separate single PD

  • Not possible to determine shipping data for material  in PO(STO)

    I m doing STO for intra copmany code(plant to plant stock transfer),I have done all STO setting ,maintain material with plant and storage condition,loading groups , maintain customer with storage condition,created vendor with supplying plant.setting

  • Set decimal places in Grid

    Hi. I have a calculation field in my SQL statement that populates the Grid column and it only shows two decimals.  How do I set it to calculate more than two.  I tried it in the SQL Statement....Convert(decimal(18,3),dbo.RDR1.OpenQty * dbo.OITM.SWeig