DLL for opening connection(Oracle)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Reshmi Jacob
    New Member
    • Sep 2006
    • 50

    DLL for opening connection(Oracle)

    Hi all

    I just want to create a DLL in which I want to open a conn to an Oracle Database which can be used Public inside any program.

    In the main Program I will use

    OPENDB("C")

    In the DLL, this has to be accepted and process the function OPENDB(CType)
    and return true if the Connection is open (i need to use the connection too...)

    The Variable CType is just for eg :

    IF Ctype = "C" then
    Connection opens Database of Company3
    elseif Ctype = "B" then
    Connection opens Database of Company2
    elseif Ctype = "A" then
    Connection opens Database of Company1
    endif

    remaining code will be to Open Connection.

    I am NEW to DLL ; Can u pls help me....

    Thanks in advance
    Reshmi
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    don't expect the entire code.

    kindly post what you have tried so far.

    Comment

    Working...