PureBasic 3.93 beta 3 for Windows released

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Unfortunately, there is no way for now to tell which userlib does the linker error.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

traumatic wrote:
Fred wrote:
traumatic wrote: Do I see this right? Compiling a DLL also generates the corresponding .exp and .lib in the 'save-to' directory now?? Shocked
That's it ;)
:D
8)
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Does that mean that now DLL's generated by PureBasic can OFFICIALLY be used with applications programmed with other compilers :?:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Fred, did you had a look at my problem with the Docmaker ? I can't wait to start doing some docs :)
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

The problem was the additonal japbe-constants. I have correct this.

please only download the complete file, when the uiu doesn't work:
http://gpihome.de/purebasic/jaPBe/
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

GPI wrote:The problem was the additonal japbe-constants. I have correct this.

please only download the complete file, when the uiu doesn't work:
http://gpihome.de/purebasic/jaPBe/
thank's , uiu and japbe work fine :)
Please correct my english
http://purebasic.developpez.com/
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

fsw wrote:Does that mean that now DLL's generated by PureBasic can OFFICIALLY be used with applications programmed with other compilers :?:
Nothing change here, it allows you to use your dll in VC++ (or any other compilers) for your own projects easily.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

Err, sorry to repeat myself, but i would like to know ;)
Je sais, je suis chiant :)
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Ahh, it looks like it is aXend's COMLIB that is causing me the problems..

I'll see if he can recompile it or something.. Does he just need to use the latest tailbite or wait for a future version that supports the soon-to-be 3.93 ?
-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
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post by El_Choni »

It depends; if he doesn't use arrays nor linked lists, a recompile with the current TailBite version should be enough. Otherwise, it'll have to wait for the final PB 3.93 release, and subsequent TailBite release.

Regards,
El_Choni
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

Fred wrote:
fsw wrote:Does that mean that now DLL's generated by PureBasic can OFFICIALLY be used with applications programmed with other compilers :?:
Nothing change here, it allows you to use your dll in VC++ (or any other compilers) for your own projects easily.
And all this time I thought it's prohibited to use pb's lib functions in dll's for other compilers... :roll:
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> all this time I thought it's prohibited to use pb's lib functions in dll's for other compilers... :roll:

It depends on how you're using the PureBasic lib functions. See Num3's
explanation here: viewtopic.php?t=8895

In other words, you can't just "wrap" the PureBasic functions in the DLL...
You need to code your own actual routines, or use the Win32 API instead.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

@pb: Thanks for pointing me to the right topic.

The newest help file says (under 'Terms And Conditions'):
All components, libraries, and binaries are copyrighted by Fantaisie Software. The PureBasic license explicitly forbids the creation of DLLs whose primary function is to serve as a 'wrapper' for PureBasic functions.
Some time ago I coded an EVENT-DRIVEN OOP-GUI that I use for my own projects.
Because of OOP's and EVENT-DRIVEN nature it's not a wrapper of pb's gui commands, but rather a big pile of code.

But now I'm also a FreeBASIC user - and would like to use it with this compiler too.
And maybe when my OOP-GUI is grown up (still some inconsistencies and quirks in it...) make it usable for somebody else...
RJP Computing
Enthusiast
Enthusiast
Posts: 202
Joined: Sun Apr 27, 2003 4:44 am
Location: Michigan, USA
Contact:

Post by RJP Computing »

fsw wrote:@pb: Thanks for pointing me to the right topic.

The newest help file says (under 'Terms And Conditions'):
All components, libraries, and binaries are copyrighted by Fantaisie Software. The PureBasic license explicitly forbids the creation of DLLs whose primary function is to serve as a 'wrapper' for PureBasic functions.
Some time ago I coded an EVENT-DRIVEN OOP-GUI that I use for my own projects.
Because of OOP's and EVENT-DRIVEN nature it's not a wrapper of pb's gui commands, but rather a big pile of code.

But now I'm also a FreeBASIC user - and would like to use it with this compiler too.
And maybe when my OOP-GUI is grown up (still some inconsistencies and quirks in it...) make it usable for somebody else...
fsw you bring up a good point that has buged users for a while. Why is this limitation in PureBasic. Just imagine if Microsoft had that in there API Fred couldn't even make his compiler. Programmers wrap libraries all the time. The C runtime for example is probably the most used in wrappers for other languages. Imagine how unpopular C would be if it had such odd restrictions.

I know the bid deal about a whole other language being built from PureBasic but instead of be offened just realize that it is a compliment and a promotion of your product being so good. These statements of limitation just scare users away and I know that Fred and company just want to protect there intelectual property but then there should be A LOT more detail on what this clause means to the users.
-Ryan
RJP Computing

Ubuntu 8.10/WinXP, AMD Athlon 64 3000+, 1000MB RAM, AC 97 Audio, nVidia GeForce 7600GT 512MB
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

RJP, I don't think it unreasonable to forbid wrapping of PB commands. Otherwise other less honest BASIC authors might just wrap up PB commands and pass them off as their own.

I can't imagine a time when you need a wrapper DLL around PB commands except for the explicit purpose of ripping PB commands off to pass as "native" for some other language. PB doesn't have anything all that special that isn't offered through the win API or through any other language worth a salt. PB's value is in it's ability to be used as a single language to develop small, fast applications.

Having said that, there is no way to prevent this from happening so only honest users are going to abide by the license.
-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