Hi,
I am working on a project which uses stlport and Oracle Class Library. I have run some demo projects for OCL which work fine. However when I use stlport and OCL together in the project; It generates a runtime error "Illegal instruction".
the part of code giving this error is given below
#include "ocl.h"
using namespace ocl;
int main()
{
OraConnection connection;
char* connectString = "uName/password@dbName";
connection.setConnectString(connectString);
connection.open(); // "Illegal instruction"
connection.close();
}
This program compiles and links right. It gives the error at runtime. Please help me with this
Regards,
Sudarshan