2 beginner problems

Hallo together, i have two big problems. I'm working with delphi 6 enterprise, oracle 8i enterprise, Windows 2000 Server and clients. the clients has installed the oracle client. If i use TOracleSession and set password, database, and username and set connected = true i can see the data in the form (using also TOracleDataSet and DataSource). If i try to logon in runtime i get a error message :

'Exception of class EAccessviolation on adress 004D69BE'

the programmcode looks like this :

procedure InitTree;
begin
with MainSession do --> prog. stops here
try
LogOn;
ShowMessage('Logged in');
execpt
ShowMessage('Not Logged in');
Application.Terminate;
end;
end;

if i'm using TOracleLogon i get also a access violation on starting the programm.

the second problem is when i have not installed the oracle client on a machine. what files do i have to install on this client or do i have to install the hole net8 programms from then oracle client setup.

I hope someone can give me a some help.

frank
 
It can sometimes happen that you create a form or data module at design-time, but access it at run-time before it (or its components) are created. Maybe this is the case here?

The Oracle Client software has to be installed through the Oracle Installer.

------------------
Marco Kalter
Allround Automations
 
Back
Top