Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Oracle und C++

Empfohlene Antworten

Veröffentlicht

Hallo,

und entschuldigt falls diese Frage schon mal gestellt wurde aber ich konnte hier nichts finde. Ich habe fogendes eigentlich einfaches problem: Ich will mit devcpp eine einfache Verbindung zu meiner Oracle10g XE Datenbank herstellen. Was muss ich tun damit das funktioniert? Habe es mit Occi probiert, aber leider völligst erfolglos.

Ja entschuldige, also folgendes ist der Stand: Ich denke es liegt einfach daran das ich OCCI nicht in devcpp einbinden kann. Ich habe mir dir OCCI zip heruntergeladen mit den dlls, der manifest und der lib dateien. Nun habe ich die libs eingebunden und den code getestet

const string userName = "user";

const string password = "pass";

const string connectString = "localhost";

Environment *env = Environment::createEnvironment();

{

Connection *conn = env->createConnection(

userName, password, connectString);

Statement *stmt = conn->createStatement(

"SELECT blobcol FROM mytable");

ResultSet *rs = stmt->executeQuery();

rs->next();

Blob b = rs->getBlob(1);

cout << "Length of BLOB : " << b.length();

.

.

.

stmt->closeResultSet(rs);

conn->terminateStatement(stmt);

env->terminateConnection(conn);

}

Environment::terminateEnvironment(env);

aber das funktioniert nicht. Er kennt die ganzen Befehle nicht. Ich habe auch schon einen sample code gesehen in dem die occi.h eingebunden wurde. Diese finde ich aber nicht in der zip.

Ich will nur eine Verbindung. Der Rest ist dann kein Problem mehr. Aber wie gesagt habe ich das Problem die OCCI richtig einzubinden.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.