Re: [Gambas-user] error calling external function but not when debugging

2008-12-17 Thread Benoit Minisini
On lundi 15 décembre 2008, je ber lo wrote: > hello, I'm using gambas 2.8 on debian and I'm getting different result when > debugging code ( the result is a md5 hash string (32 characters)) but no > when executing in a normal way. The error is > > Failed to set text from markup due to error parsing

[Gambas-user] error calling external function but not when debugging

2008-12-16 Thread je ber lo
Hello, I'have resolved my problem. The approach I have taken is: In the external function in C convert the char array into a Gambas String (length + array of char) then in Gambas I get the string thru the Read #pointer, stringvar function. Could anybody confirm if this is the best approach? Re

[Gambas-user] error calling external function but not when debugging

2008-12-15 Thread je ber lo
hello, I'm using gambas 2.8 on debian and I'm getting different result when debugging code ( the result is a md5 hash string (32 characters)) but no when executing in a normal way. The error is Failed to set text from markup due to error parsing markup: Error on line 1 char 10: Invalid UTF-8 encod