A comment was made to the effect that the individual concerned would use PB more in the work place were it not for the apparent restrictions on the use of DLL's etc. Innocuous enough!utopiomania wrote:Two or three maybe. I wondered about this myself, but what has dlls to do with this?Any PB programmers who are EMPLOYEES?
DLL licensing issues 2.....
Re: Any PB programmers who are EMPLOYEES?
I may look like a mule, but I'm not a complete ass.
Re: Any PB programmers who are EMPLOYEES?
You are overgeneralizing term "wrapping" and then trying to interpret this case with that.Kuron wrote:Perhaps an expert could explain how to create a DLL with PB without using a single PB command/function which would by default be wrapping that command/function in the DLL (of which wrapping functions for use is the entire purpose of a DLL)? I am genuinely perplexed.
Re: DLL licensing issues 2.....
There is no restriction to use PB command in dlls.
What you CANT do is just wrap the PB commands.
If you dll functiond do something else that just wrapping PB functions, its okay.
What you CANT do is just wrap the PB commands.
If you dll functiond do something else that just wrapping PB functions, its okay.
ARGENTINA WORLD CHAMPION
- Distorted Pixel
- Enthusiast
- Posts: 233
- Joined: Sun Aug 29, 2021 4:34 am
Re: DLL licensing issues 2.....
I'm interested in creating a game in AGK2 and using Pure Basic to do most, but not all the data manipulation because AGK data commands are minimal and not worth using in my opinion. If I write a program in PB to do the data manipulation for the game and put it in dll form is that considered wrapping commands?
I'm not just listing commands and creating a dll, I'm actually writing a whole data manipulation program to do the manipulation. So am I ok with doing this?
I'm not just listing commands and creating a dll, I'm actually writing a whole data manipulation program to do the manipulation. So am I ok with doing this?
Last edited by Distorted Pixel on Sat Sep 04, 2021 5:22 pm, edited 1 time in total.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar?
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: DLL licensing issues 2.....
Why dont you ask the offical support outlining exactly what your plans are?
- Distorted Pixel
- Enthusiast
- Posts: 233
- Joined: Sun Aug 29, 2021 4:34 am
Re: DLL licensing issues 2.....
Yea, you are right, I would be better off doing so, so I just got done emailing them. Thank you.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar?
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: DLL licensing issues 2.....
No, it's not. Wrapping has been answered here -> viewtopic.php?p=369010#p369010Distorted Pixel wrote: ↑Sat Sep 04, 2021 4:28 pmIf I write a program in PB to do the data manipulation for the game and put it in dll form is that considered wrapping commands?
You can if you write your own code to do it, such as your own MyResizeImage() that doesn't use ResizeImage(), or uses it PLUS some other things when resizing. For example, if your resize command does a resize but also then centers the resized image in a pre-defined box. This is then not a wrapper for the command, but a whole new custom command that doesn't exist in PureBasic.
Um, no. DLLs are needed for some types of projects, where global access to things are required that can't be done from within the exe itself. But mainly because DLLs provide a way to easily re-use custom coded procedures in your own apps, and for other people's apps.
- Distorted Pixel
- Enthusiast
- Posts: 233
- Joined: Sun Aug 29, 2021 4:34 am
Re: DLL licensing issues 2.....
So, if I understand it right, you can create a DLL that does something like manipulate data and save it to a file for a game mainly built in another language, but you can't just wrap PB commands that don't do anything to add PB commands to another language, correct?BarryG wrote: ↑Sun Sep 05, 2021 1:43 amNo, it's not. Wrapping has been answered here -> viewtopic.php?p=369010#p369010Distorted Pixel wrote: ↑Sat Sep 04, 2021 4:28 pmIf I write a program in PB to do the data manipulation for the game and put it in dll form is that considered wrapping commands?
You can if you write your own code to do it, such as your own MyResizeImage() that doesn't use ResizeImage(), or uses it PLUS some other things when resizing. For example, if your resize command does a resize but also then centers the resized image in a pre-defined box. This is then not a wrapper for the command, but a whole new custom command that doesn't exist in PureBasic.
Um, no. DLLs are needed for some types of projects, where global access to things are required that can't be done from within the exe itself. But mainly because DLLs provide a way to easily re-use custom coded procedures in your own apps, and for other people's apps.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar?
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care
Re: DLL licensing issues 2.....
Correct !Distorted Pixel wrote: ↑Wed Sep 08, 2021 10:52 am So, if I understand it right, you can create a DLL that does something like manipulate data and save it to a file for a game mainly built in another language, but you can't just wrap PB commands that don't do anything to add PB commands to another language, correct?
- Distorted Pixel
- Enthusiast
- Posts: 233
- Joined: Sun Aug 29, 2021 4:34 am
Re: DLL licensing issues 2.....
Thank you, finally someone explained it in simple understandable English
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar?
No one cares how much you know until they know how much you care
No one cares how much you know until they know how much you care