The FAQ of Pure Basic Web Site

Everything else that doesn't fall into one of the other PB categories.
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

The FAQ of Pure Basic Web Site

Post by cecilcheah »

Hi

Here i quote from the PB Web Site:
Generally yes. You can make DLLs including PureBasic commands for your own projects without any restrictions. But it's not allowed to release simple "wrapper" Dlls to include PureBasic commands in other programming languages.
Can anyone explain this to me further what i am not supposed to do?

Cecil
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: The FAQ of Pure Basic Web Site

Post by Num3 »

cecilcheah wrote:Hi

Here i quote from the PB Web Site:
Generally yes. You can make DLLs including PureBasic commands for your own projects without any restrictions. But it's not allowed to release simple "wrapper" Dlls to include PureBasic commands in other programming languages.
Can anyone explain this to me further what i am not supposed to do?

Cecil
It means you cannot create a DLL, with only the functions of PB and distribute it.

For example, create a DLL which has all the pure gfx commands inside it, and sell / give away has a Gfx Engine to be used on other languages.

You can however create your own DLL, that has your own code and procedures made with PB functions and commands.
Fred
Administrator
Administrator
Posts: 18349
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

May be the quote in the 'Licence and Aggrement' of the help file is more clear:
All components, libraries, and binaries are copyrighted by Fantaisie Software and can't be used in any form (static libraries, DLL and more) in another programming langage, except for PureBasic owners. This includes the simple DLL or static library wrapping of PureBasic commandset.
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post by cecilcheah »

Hi

If i made a DLL with my own functions which are coded with PB functions. The user needed to call my functions in their programme, is this OK or not?

Still not very clear. I need to use a few PB Functions to code my DLL. So is this breaking the licence or not?

Cecil
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post by ricardo »

cecilcheah wrote:Hi

If i made a DLL with my own functions which are coded with PB functions. The user needed to call my functions in their programme, is this OK or not?

Still not very clear. I need to use a few PB Functions to code my DLL. So is this breaking the licence or not?

Cecil
Of course to do your own functions you should use PB functions, but since your functions are not only wrappers but real functions its ok.

See this examples

Code: Select all

Example A

Procedure Paint(x,y,h,w,Color)
  For x = 0 to h
    For y = 0 to w
      Plot(x,y,h,w,Color)
   Next y
Next i
EndProcedure

Code: Select all

Example B

Procedure MyPlot(x,y,Color)
   Plot(x,y,Color)
EndProcedure
Example A its your own function that USES a PB command.
Example B is just a wrapper to a PB command.
A its allowed, B not.
ARGENTINA WORLD CHAMPION
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Make the wrapper and make all your customers buy a copy of PureBASIC!

*grins*
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply