For Programmers: Free Programming Magazines  


Home > Archive > Clipper > January 2005 > Vo2.7b - an unhandled exception after AdoConnection:Destroy()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Vo2.7b - an unhandled exception after AdoConnection:Destroy()
Veselin Ivanov

2005-01-14, 3:55 pm

Hi,
I have instaled Vo2.7b with vo2Ado and Adaptive Server Anywhere 9, compiled
all projects and all is OK, but when I
close application from IDE an error appear if I use AdoConnection:Destroy().

The error is :
"An unhandled exception occured in module MSDART.dll of your application!"

This is some of connection code:
cbErr := ErrorBlock({|oErr| _Break(oErr)})
BEGIN SEQUENCE
oConn := AdoConnection{}
oConn:Provider := 'ASAProv'
oConn:ConnectionTimeout := 5
oConn:CursorLocation := adUseClient
oConn:Open('Data Source='+cOdbcName,cUser,cPass,NIL)
IF !oConn:State=adStateOpen
....
....
....

oConn:Destroy()

TIA
Veselin
Rob

2005-01-15, 3:55 am

Veselin,
Think you may want to be on the VO NG for this...
--
Rob Grattan
R&D Software Pty. Ltd.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com