DWSTRING.bi - Dynamic null terminated unicode string data type

User projects written in or related to FreeBASIC.
deltarho[1859]
Posts: 1219
Joined: Jan 02, 2017 0:34
Location: UK

Re: DWSTRING.bi - Dynamic null terminated unicode string data type

Postby deltarho[1859] » Jul 11, 2018 4:59

Josep Roca wrote:I use source code and PRIVATE all the time.

So do I, as per 2) Second method.

I put some of my random number generators into libraries and their throughput collapsed.
Juergen Kuehlwein
Posts: 56
Joined: Mar 07, 2018 13:59
Location: Germany

Re: DWSTRING.bi - Dynamic null terminated unicode string data type

Postby Juergen Kuehlwein » Jul 13, 2018 17:11

José´s WinFBX Framework is an optional but recommended part of my IDE. He generously allowed me to extract the dynamic unicode string part for use in my IDE, in case people wouldn´t want to include WinFBX. This is basically the same what DWSTRING.bi contains.

I can confirm that it is working as "advertised" - no bugs so far. The only (in my view acceptable) drawback is, that in some cases fbc doesn´t accept the "CWstr/DWSTRING/USTRING" (whatever you name it) type as string type (In some other cases it does!). Therefore you have to prepend a "*" to variable names in these cases. This is a problem with FreeBASIC not consistently handling types and not a problem of José´s code. I can say that, because i tried myself to fiddle around with his code and had discussions with him about the code. But in the end i had to admit, that, what he found, is the best possible under the given circumstances.

Great work - thanks José


JK

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 2 guests