Re: [Gambas-user] Regex - expert opinion requested

2017-05-31 Thread Tobias Boege
On Wed, 31 May 2017, Fernando Cabral wrote: > This is only for those who like to work with regular expressions. > It is a performance issue. I am using 26 different regular expressions of > this kind: > > txt = RegExp.Replace(TextoBruto, NaoNumerais, "&1\n", RegExp.UTF8) > txt = RegExp.Replace(Txt

[Gambas-user] Regex - expert opinion requested

2017-05-31 Thread Fernando Cabral
This is only for those who like to work with regular expressions. It is a performance issue. I am using 26 different regular expressions of this kind: txt = RegExp.Replace(TextoBruto, NaoNumerais, "&1\n", RegExp.UTF8) txt = RegExp.Replace(Txt, "\n\n+?", "\n", RegExp.UTF8) txt = RegExp.Replace(Txt,

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Benoît Minisini
Le 31/05/2017 à 14:36, Admin a écrit : 31.05.2017 18:18, Benoît Minisini пишет: Le 31/05/2017 à 12:38, Admin a écrit : 31.05.2017 16:58, Benoît Minisini пишет: Apparently all that black box is written in C++ with QT, and without the header of the library interface , I can't tell you if it is

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Admin
31.05.2017 18:18, Benoît Minisini пишет: Le 31/05/2017 à 12:38, Admin a écrit : 31.05.2017 16:58, Benoît Minisini пишет: Apparently all that black box is written in C++ with QT, and without the header of the library interface , I can't tell you if it is possible to use the library with Gambas,

Re: [Gambas-user] Working with .so library

2017-05-31 Thread PICCORO McKAY Lenz
hello all, the gambas extern documentation says how to create references with simgle pointers like IFptr * iface = CreateFptrInterface(12); but not with more complex for novice users like: struct fp_dscv_dev **discovered_devs; i'm not expert in C and only few examples , some time ago i'v wr

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Benoît Minisini
Le 31/05/2017 à 12:38, Admin a écrit : 31.05.2017 16:58, Benoît Minisini пишет: Apparently all that black box is written in C++ with QT, and without the header of the library interface , I can't tell you if it is possible to use the library with Gambas, and how. Regards, I was lucky enough t

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Admin
31.05.2017 16:58, Benoît Minisini пишет: Le 31/05/2017 à 06:48, Admin a écrit : So, I am writing a programm for my business that would basically be a cash register. Don't know for other countries but here in Russia the tax law works like this: you have to form a check for a customer in a spici

Re: [Gambas-user] Explicitly load a library

2017-05-31 Thread Benoît Minisini
Le 29/05/2017 à 05:30, adamn...@gmail.com a écrit : Is there any way to explicitly load a library similar to loading a component via Component.Load(name as String)? I want to load a library used by another project and determine the exposed classes in the library. It's for a code generator. So,

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Admin
Hi, Caveat. Yes, ofcourse, this is basically the only article outthere that explains at least something. But I still can't understand why arguments are not sent to my lib and what do I do wrong if it's not the Gambas issue. 31.05.2017 16:35, Caveat пишет: Hallo Dmitry Did you already look a

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Benoît Minisini
Le 31/05/2017 à 06:48, Admin a écrit : So, I am writing a programm for my business that would basically be a cash register. Don't know for other countries but here in Russia the tax law works like this: you have to form a check for a customer in a spicific way spicified by the law, so some hard

Re: [Gambas-user] Working with .so library

2017-05-31 Thread Caveat
Hallo Dmitry Did you already look at: http://gambaswiki.org/wiki/howto/extern ? Kind regards, Caveat On 31-05-17 06:48, Admin wrote: So, I am writing a programm for my business that would basically be a cash register. Don't know for other countries but here in Russia the tax law works like t