• Welcome to PlanetSquires Forums.
 

License WinFBX

Started by VANYA, January 28, 2021, 02:26:48 AM

Previous topic - Next topic

VANYA

I have already asked a question here , but received an answer that can be interpreted in different ways. I don't need a scandal in the future. Therefore, I want to clearly understand all the issues that concern me. From this will depend use or not use the source code of José Roca. I have never seen a LICENSE FREEWARE for a source file. The compiled programs with the FREEWARE LICENSE are free, but they are distributed without source code.

To the essence of the questions:

1) Is it allowed to use part of the code, for example, one file CWSTR.INC ?
2) Is it allowed to distribute a part of the code (CWSTR.INC) with my source code?
3) Is it allowed to change a part of the code (CWSTR.INC), including deleting certain\any parts of the code (copyright strings unchanged, of course) in the CWSTR.INC file (as well as renaming its extension from INC to BI), and then distributing it with my source code? This question is partially answered here :
QuoteYes, as long as you don't make it incompatible with mine.
but it’s not clear. Compatible with what? With my code? What will happen if you change your code in the future and it becomes incompatible with the code I changed? At the moment your complete code cannot be used with my code (compilation errors), but by removing some of the code, compilation is successful. Is this considered compatible or incompatible?

If I get precise and clear answers to my questions, then I can understand for myself: use the source codes of José Roca or write my own implementation. In any case, I will not only save the link to this topic, but also take a screenshot, which I will distribute with my code (if the issues are resolved positively for me).

P.S. I am not doing business in any form. I do not sell my programs or source codes, and even more so I am not going to sell other people's programs, source codes.





José Roca

I like consistency, so I don't want to have different versions of my code floating around. My framework is not something to be cut in pieces. Therefore, the best solution for you is to use DWSTRING.bi, that I posted in the FreeBasic forum with the same license as the source code and headers that come with FreeBsic.

See: https://www.freebasic.net/forum/viewtopic.php?f=8&t=26856&p=249192&hilit=dwstring#p249192

As this code was written for FreeBasic 1.06, you will have to add EXTENDS WSTRING to avoid the quirks that happen with FreeBasic versions older than 1.07.

There were talks with the main FB developer, coderJeff, to include a modified version of the class in the FB distribution, since a dynamic unicode data type is indispensable for users like the Russian and Chinese ones, but nothing has been decided yet.

VANYA

Quote from: José Roca on January 29, 2021, 05:43:34 PM
Therefore, the best solution for you is to use DWSTRING.bi

Thank you, of course, but you were in no hurry to answer, and during this time I have almost completely written my implementation. In fact, I am even grateful to you that you were late in answering, as it made me wiggle. This saves me from having to depend on someone else's code. At the moment, almost everything is ready, the routine (testing) remains. When I finish the code, I'll post it on my website for general access.