Config:
Team developer 6.3
Sybase ASE 12.5.4
My apologies for my bad english.
I m working on project using Gupta team developer 6.3 and Sybase system 12.5.4. Compilation is fine , but while executing the app,when the control comes to the statement for executing the function SybExecuteProc (which can be used to execute stored procs in Sybase system 10 and 11) the execution is stopping abruptly, crash of TD6.3 and my app.
After some tests, i find out that one column in my SELECT crash SybExecuteProc. I tryed without this column and the app is running correctly.
I tried to figure why this column isn't working but i didn't find anything to help me debug this problem
The app :
I got a select like this :
Code: Select all
LOCAL VARIABLES :
NUMBER: nCode
String strLibelle
String strAuto
String strExec
...
...
CONNEXION SERVER... ! Everything is working
...
...
SET strRequete = 'select distinct h.APPLI, app.LIB, "O", app.EXECUTABLE
from HABI h, APPLICA app
where h.APPLI = app.APPLI'
IF SybExecuteProc(hSql,strRequete,':nCode,:strLibelle,:strAuto,:strExec) ! <- CRASH HERE ON the column strLibelle/app.LIB
---....
---....
...
hello
Hello\you
hey.working
hey working
...
I look in my log and i find this
ASSERTION FAILURE: file ..\..\sqlsyb32\c\SQSERR.CPP : line 310
[ERROR] 32031 Internal SQLRouter error [2031]
Got some ideas ?
Thanks!
W. Fournier.