User forums > Help

Code::blocks Oracle OCI/OCCI?

(1/4) > >>

GalaG:
has anyone had success accessing Oracle 9i/10i using code::blocks ether with mingw or Borland command line?

I'm having a major headache with this, I can make (mingw) .a or (Blorland) .lib
files from the oci.dll file but, other the that... I'm knda lost.

I know its a C++/Code::blocks border like question, but please, help!!  :(

Thanks.

mandrav:
Yes, it works fine. Just link to the msvc dll directly, no need to create an import library (.a) from it.

GalaG:

--- Quote from: mandrav on April 05, 2009, 12:32:07 am ---Yes, it works fine. Just link to the msvc dll directly, no need to create an import library (.a) from it.

--- End quote ---

first of all, thanks  :D

but still, I got a few small questions:
1) I'm using Borland C++, so I have to download MSVC++, right? if so what exactly?
2) how exactly do you link dll files directly in code::blocks? because I need to add oci.dll also, right?
3) what flags should I use in the compiler/linker? I know, it's kinda noob of me...

Thanks for all your help.

mandrav:

--- Quote from: GalaG on April 05, 2009, 06:41:18 am ---but still, I got a few small questions:

--- End quote ---

If you use gcc, everything Just Works. For borland I can't say much.

GalaG:
Ok, so what flag do you use with GCC? and how do you use the DLLs directly?
I can work the transition to Borland later, just need to get something to work.

Thanks,

Navigation

[0] Message Index

[#] Next page

Go to full version