Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with Clarion 5 and SQL Server 2008

93 views
Skip to first unread message

Maria Jose

unread,
Apr 30, 2010, 3:50:41 AM4/30/10
to
Good afternoon.

I work at a company in Spain where we have an application developed in
Clarion 5. There is a process in which, having the Topspeed database,
there has been no problem but we have crossed a customer to SQL Server
2008 and the process has begun to give problems.

The steps in the process of a window are:
1. Open several files.
2. Calculations are made and changes in them within a Logout.
3. These files are closed.
4. Open other files and global variables are initialized.
5. Calculations are performed and changes in them in a new Logout.
6. These files are closed.
7. They open the files as at point 1.

The first time you perform the process there are no problems, but the
second or third time it launches (without closing the window) gives an
error of Windows XP a few times of the c5mssx.dll and other in
c5runx.dll. In c5log.txt writes me sometimes:

Error: Corrupt Block / Unknown block type freed. This is Probably
Caused by Freeing a static variable or a bad pointer.
00858bd0
442e5350

With the mistake I closed the program.

I have put messages in the code and always fails in the same place, at
the first statement "Close" in item 3, during it, but did not catch
any mistakes later.

I checked the data base (sql DBCC CHECKDB) and is perfect.

Do you have any idea why this error occurs? Is there any
incompatibility between Clarion5 and SQL server 2008?

A greeting. Thank you.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Buenas tardes.

Trabajo en una empresa en España en la que tenemos una aplicación
desarrollada en Clarion 5. Hay un proceso en el que, teniendo la base
de datos en Topspeed, no ha dado ningún problema pero hemos traspasado
a un cliente a Sql Server 2008 y el proceso ha empezado a dar
problemas.

Los pasos del proceso de una ventana son:
1. Se abren bastantes ficheros.
2. Se realizan cálculos y modificaciones en ellos dentro de un Logout.
3. Se cierran estos ficheros.
4. Se abren otros ficheros y se inicializan variables globales.
5. Se realizan cálculos y modificaciones en ellos dentro de un nuevo
Logout.
6. Se cierran estos ficheros.
7. Se abren los ficheros del punto 1.

La primera vez que se realiza el proceso no hay problemas, pero la
segunda o tercera vez que se lanza (sin haber cerrado la ventana) da
un error de Windows XP unas veces del c5runx.dll y otras del
c5mssx.dll (ver los archivos adjuntos del visor de sucesos). En el
c5log.txt me escribe, a veces:

Error: Corrupt block/Unknown block type freed. This is probably
caused by freeing a static variable or a bad pointer.
00858bd0
442e5350

Con el error me cierra el programa.

He puesto mensajes por el código y falla siempre en el mismo sitio, en
la primera instrucción “Close” del punto 3, al realizarla, pero no se
captura ningún error después.

He chequeado la base de datos (instrucción DBCC CHECKDB de sql) y está
perfecta.

¿Tienen alguna idea de por qué se produce este error? ¿Hay alguna
incompatibilidad entre Clarion5 y SQL server 2008?

Un saludo. Gracias.

taniarto jeannica

unread,
Apr 30, 2010, 4:07:46 AM4/30/10
to

Hi,

Check out the security of the user at SQL SERVER that you give
permission to access the database. The user should have database owner
for the security level. and check out the dictionary..of clarion

hope can help

Thanks

Joe

0 new messages