i'm facing a curious problem creating a simple Win32 service application.
this service just has (at least 'till now) one thread which creates a TSQLConnection object at runtime.
The connection is set to use dbxoda40.dll. If i open the connection and try to stop the service (or close the hosting test application) then the application process hangs and i have to kill it via task manager.
If i don't try to open the connection then the application closes normally.
Environment:
RAD Studio 2009
dboda V. 4.40.16
Vista business 32bit
Oracle 9i or 10g
Code: Select all
sqlConnection=new TSQLConnection(NULL);
sqlConnection->ConnectionName="DevartOracle";
sqlConnection->DriverName="DevartOracle";
sqlConnection->GetDriverFunc="getSQLDriverORA";
sqlConnection->LibraryName="dbexpoda40.dll";
sqlConnection->VendorLib="oci.dll";
sqlConnection->LoginPrompt=false;
sqlConnection->Params->Clear();
sqlConnection->Params->Add("Database="+_Database);
sqlConnection->Params->Add("User_Name="+_Username);
sqlConnection->Params->Add("Password="+_Password);
sqlConnection->Open();
sqlConnection->Close();
Second question (sorry for asking it here). i do i download the latest version of dbxoda? the account you gave me allows me to download only version 4.40.16 and not the 4.50.XX
Since i bought it one month ago i think i can upgrade it for a year, right?
thanks in advance
Fulvio[/code]