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
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
Comment