Re: [Gambas-user] error calling external function from c library

2008-06-20 Thread Marcos Antonio Pandolfo Jr
Marcos Pandolfo Jr - Original Message - From: "Marcos Antonio Pandolfo Jr" <[EMAIL PROTECTED]> To: "mailing list for gambas users" Sent: Thursday, June 19, 2008 10:15 PM Subject: Re: [Gambas-user] error calling external function from c library > Benoit >

Re: [Gambas-user] error calling external function from c library

2008-06-19 Thread Marcos Antonio Pandolfo Jr
list for gambas users" Sent: Thursday, June 19, 2008 6:53 PM Subject: Re: [Gambas-user] error calling external function from c library > On jeudi 19 juin 2008, Marcos Antonio Pandolfo Jr wrote: > > In gambas 2.7.0 appears Illegal instruction in the call of function > > TEF_inici

Re: [Gambas-user] error calling external function from c library

2008-06-19 Thread Benoit Minisini
On jeudi 19 juin 2008, Marcos Antonio Pandolfo Jr wrote: > In gambas 2.7.0 appears Illegal instruction in the call of function > TEF_inicia: > > EXTERN TEF_inicia(Resultado AS Pointer, Funcao AS String, Valor AS String, > CuponFiscal AS String, DataFiscal AS String, Horario AS String, Operador AS >

Re: [Gambas-user] error calling external function from c library

2008-06-19 Thread Marcos Antonio Pandolfo Jr
uction in this line lala = StrPtr(la) Free(la) PRINT lala Now is the call correct ? Thanks so much for the help and sorry my poor english. - Original Message - From: "Benoit Minisini" <[EMAIL PROTECTED]> To: "mailing list for gambas users" Sent: Thursday, June 19,

Re: [Gambas-user] error calling external function from c library

2008-06-19 Thread Benoit Minisini
On jeudi 19 juin 2008, Marcos Antonio Pandolfo Jr wrote: > Hi > > Im using Centos 5 and Gambas 2.0.0 and when I call a external function in > a C library this error occurs and Gambas crash with error #6 > > EXTERN TEF_inicia(Resultado AS String, Funcao AS String, Valor AS String, > CuponFiscal

[Gambas-user] error calling external function from c library

2008-06-19 Thread Marcos Antonio Pandolfo Jr
Hi Im using Centos 5 and Gambas 2.0.0 and when I call a external function in a C library this error occurs and Gambas crash with error #6 EXTERN TEF_inicia(Resultado AS String, Funcao AS String, Valor AS String, CuponFiscal AS String, DataFiscal AS String, Horario AS String, Operador AS Stri